MIJ and Matlab 2014 - javaaddpath command disables MIJ instance

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MIJ and Matlab 2014 - javaaddpath command disables MIJ instance

ericbarnhill
I recently posted about MIJ not seeming to work quite right in Matlab  
2014. I have figured out more details about this problem.

MIJ and Miji are not compatible with any downstream use of  
"javaaddpath" . Any further use of a javaaddpath command disables MIJ.  
The previous MIJ instance is dead and cannnot be reached from matlab  
(although any images already open can still be saved out). The GUI  
windows from the dead instance can still be closed but the images from  
the dead instance can not be, and will only go away when Matlab is  
exited.

I like using javaaddpath in my scripts, as it allows me to push  
changes to a JAR to colleagues, and for them to start using the  
updated JAR without rebooting Matlab. But for now, a workaround is to  
avoid javaaddpath. Like I said I don't think this was a problem in  
Matlab 2013, though my copy is gone now.

Eric

---
Eric Barnhill
Clinical Research Imaging Centre
The University of Edinburgh

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html