Re: [micro-manager-general] Matlab Configuration - CMMCore Object
Status: Beta
Brought to you by:
nicost
|
From: Kyle D. <kyl...@gm...> - 2018-06-29 06:52:16
|
Hi Kiana Go, On Thu, Jun 28, 2018 at 11:05 PM, Kiana Go <gok...@be...> wrote: > Hello Kyle, > > Thanks so much Kyle for the help! I've been stuck on these problems > for days but I've finally moved a step forward with your help! :) > You're welcome! > In addition, can you help me figure out if I need to import any other > libraries or anything at all with my code below? Also, if you see anything > wrong or peculiar with how I utilize the functions, please let me know. > > > * //gets image acquired from snapImage* > * img=mmc.getImage();* > * throw (CMMError)* > > * //save image with coordinates as name* > * a/b/c = img* > > * //add image to Album * > * gui.addToAlbum(a/b/c);* > * throw (org.micromanager.utils.MMScriptException)* > It's a bit difficult to offer advice about a script over e-mail. It is, however, fairly routine to help debug any specific error messages that are produced by the script. Are there are any error messages you get when you run the script? If yes, which lines cause the problem? I think you're right that the line `a/b/c = img` is most likely going to raise an error. My suggestion would be to just run the script as it is and make note of the first error message that you encounter. Fix it, and then rerun the script to see whether you get any new errors further along. If you can't fix it, then write back the mailing list with the code and the error message and we'll see what we can do ;) The error messages should help guide you along the way to finding your solution. Good luck! Kyle |