Quantcast

changes from 1.4.22 to 1.4.23 with Core?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

changes from 1.4.22 to 1.4.23 with Core?

Bryant, Jason
Hi.
 
I have been using MM 1.4.22 for sometime and it has been working well with Matlab.
 
I have recently had to update to the latest nightly build 1.4.23 to allow to me control a Matrix-Vision camera.  Micromanager alone works fine
 
In my matlab script, the first thing I do is:
 
import mmcorej.*;
mmc=CMMCore;
 
 
as I said this has been working fine, but now with 1.4.23, I get the following error
 
Undefined function or variable 'CMMCore'.
 
Error in MyProgram>pushbutton1_Callback (line 172)
mmc=CMMCore;
 
 
I’ve no idea why it can’t find the core. The config file is the same
 
 
Any suggestions to whats changed?
 
Thanks
Jason
 
Dr Jason Bryant
Illumina UK
Chesterford Research Park
Nr Saffron Walden
Essex
CB10 1XL
 
 
 

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: changes from 1.4.22 to 1.4.23 with Core?

Kyle Douglass

Hi Jason,

 
In my matlab script, the first thing I do is:
 
import mmcorej.*;
mmc=CMMCore;
 
 
as I said this has been working fine, but now with 1.4.23, I get the following error
 
Undefined function or variable 'CMMCore'.
 
Error in MyProgram>pushbutton1_Callback (line 172)
mmc=CMMCore;
 
 

You may have already done this, but just as a sanity check: did you update MATLAB's javaclasspath to point towards the newly installed 1.4.23 .jar files instead of the 1.4.22 files?

Just so you know, the `import mmcorej.*;` line won't raise an error in MATLAB if any of the imports fail. This means that the error may actually be occurring on the import line, not the `mmc=CMMCore;` line.

Cheers,

Kyle

-- 
Kyle M. Douglass, PhD
Post-doctoral researcher
The Laboratory of Experimental Biophysics
EPFL, Lausanne, Switzerland
http://kmdouglass.github.io
http://leb.epfl.ch

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: changes from 1.4.22 to 1.4.23 with Core?

Bryant, Jason

Hi Kyle, that was the issue,

Thankyou

Jaosn

 

From: Kyle Douglass [mailto:[hidden email]]
Sent: 16 February 2017 15:41
To: Micro-Manager General <[hidden email]>
Subject: Re: [micro-manager-general] changes from 1.4.22 to 1.4.23 with Core?

 

Hi Jason,

 

In my matlab script, the first thing I do is:

 

import mmcorej.*;

mmc=CMMCore;

 

 

as I said this has been working fine, but now with 1.4.23, I get the following error

 

Undefined function or variable 'CMMCore'.

 

Error in MyProgram>pushbutton1_Callback (line 172)

mmc=CMMCore;

 

 

You may have already done this, but just as a sanity check: did you update MATLAB's javaclasspath to point towards the newly installed 1.4.23 .jar files instead of the 1.4.22 files?

Just so you know, the `import mmcorej.*;` line won't raise an error in MATLAB if any of the imports fail. This means that the error may actually be occurring on the import line, not the `mmc=CMMCore;` line.

Cheers,

Kyle

-- 
Kyle M. Douglass, PhD
Post-doctoral researcher
The Laboratory of Experimental Biophysics
EPFL, Lausanne, Switzerland
http://kmdouglass.github.io
http://leb.epfl.ch

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Loading...