Re: [micro-manager-general] Matlab Configuration - CMMCore Object
Status: Beta
Brought to you by:
nicost
|
From: Kiana Go <gok...@be...> - 2018-06-27 18:03:36
|
Hi Kyle, Thank you so much! That makes so much sense! In addition, I cannot find StartMMStudio.m. Is this for Windows? I am using Mac. In addition, I am following Matlab and the Micro-Manager GUI <https://micro-manager.org/wiki/Matlab_and_the_Micro-Manager_GUI> guide and stumbled upon the error below. However, after gui = MMStudio(false); , Micro-Manager pops up. Do I need gui.show; ? Can I just skip it? Thanks so much in advance! >> cd '/Applications/Micro-Manager1.4' >> import org.micromanager.MMStudio; >> gui = MMStudio(false); >> gui.show; Undefined function 'show' for input arguments of type 'org.micromanager.MMStudio'. >> mmc = gui.getCore; >> acq = gui.getAcquisitionEngine; Much Appreciated, Kiana Go On Tue, Jun 26, 2018 at 11:06 PM, Kyle Douglass <kyl...@gm...> wrote: > Hi Kiana Go, > > On Tue, Jun 26, 2018 at 8:49 PM, Kiana Go <gok...@be...> wrote: > >> In addition, I am also receiving the error "Undefined function or >> variable 'CMMCore'." >> >> >> CMMCore core = new CMMCore(); >> Undefined function or variable 'CMMCore'. >> >> >> import mmcorej.*; >> >> mmc = CMMCore; >> >> mmc.loadSystemConfiguration ('/Applications/Micro-Manager1 >> .4/MMConfig_demo.cfg'); >> >> CMMCore core = new CMMCore(); >> No constructor 'mmcorej.CMMCore' with matching signature found. >> >> >> > The line `CMMCore core = new CMMCore();` is Java code, not MATLAB. Remove > this line from your script and you can access the core through the `mmc` > object which you already created with `mmc = CMMCore;`. > > Write back if you're still having problems. > > Cheers, > Kyle > > P.S. You may also want to look at the file called StartMMStudio.m inside > the Micro-Manager root directory. This script provides a common interface > to the most commonly used Micro-Manager objects in MATLAB. > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > micro-manager-general mailing list > mic...@li... > https://lists.sourceforge.net/lists/listinfo/micro-manager-general > > -- Class of 2021 |