Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D viewer under Matlab 2013b & 2014a #6

Open
ctrueden opened this issue Jun 16, 2014 · 0 comments
Open

3D viewer under Matlab 2013b & 2014a #6

ctrueden opened this issue Jun 16, 2014 · 0 comments

Comments

@ctrueden
Copy link
Member

From @tinevez:

It is not possible to run the 3D viewer from MATLAB anymore.

The demo posted on the MATLAB FEX (see link) hooks forever when trying to instantiate the 3D universe. This most likely originates from MATLAB itself rather than from a Fiji component.

I copy below the very detailed report from Eric Siggia (thanks to him) that thoroughly investigated the issue.

I am on a Mac 10.9.2, using MATLAB 2013b, I downloaded Fiji yesterday, and checked no further updates needed.
I worked though the file Matlab3DViewerIntroduction and everything looks fine including…

InstallJava3D
Testing if Java3D is already installed...
Java3D is already installed.
Installed version is 1.5.
This is good enough, you have nothing to do.
Exiting.

I can run the demo at http://fiji.sc/Miji eg

MIJ.run('Embryos (42K)’);

etc

and all looks OK. I can open the 3D viewer directly via Fiji or ImageJ and it rotates normally.

However the demo Matlab3DViewerDemo_1.m hangs MATLAB at the command (with ‘busy’ on command window)…

universe = ij3d.Image3DUniverse();

and I have to force quit MATLAB to exit.

This error was encountered before by Ran Shadmi and your fix was an update of Fiji, but I am updated…(and have opened and closed all apps numerous times)

scripts> pwd
/Applications/FIJI.app/scripts
scripts> ls
InstallJava3D.m           Matlab3DViewerIntroduction.m
IsJava3DInstalled.m       Miji.m
Matlab3DViewerDemo_1.m        Miji_Test.m
Matlab3DViewerDemo_2.m        bfopen.m
Matlab3DViewerDemo_3.m        importTrackMateTracks.m

On the same MAC I have MATLAB 2010a installed and I get the error noted in Dec 2011 by S Mehta, which is a similar issue.

I also tried MATLAB 2014a on the same Mac and also run into problems on the same command (a query you posted 09 april 2014)

universe = ij3d.Image3DUniverse();

What I do not understand are the following responses…

ij3d
Undefined function or variable 'ij3d'. 
ij3d.setup()
Undefined variable "ij3d" or class "ij3d.setup". 
universe = ij3d.Image3DUniverse();  %%%%%

and then it hangs, but it did not recognize the ij3d class before and I assume this last line is a method in this class

On a different Mac running OS 10.6.8 and MATLAB 2012a everything runs fine!

I need some time to investigate the problem, and will come back to it later.

Migrated-From: http://fiji.sc/bugzilla/show_bug.cgi?id=735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant