Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Make Matlab Dock icon disappear in -nojvm mode Apps
When running the student version of Matlab 2007a, it is immediately noticed that running /Applications/MATLAB_SV74/bin/matlab -nojvm -nosplash in the Terminal still produces a Matlab icon in the Dock, which is now completely useless because all input and output to the program must go through the Terminal.

To keep the icon from being added to your dock, you must modify /Applications » MATLAB_SV74 » bin » maci » MATLAB.app » Contents » Info.plist. This is not a new hint, but it is important to know which file to put this in, and where to put it. The inserted text needs to be placed with the other NS-type elements, so search for:
<key>NSPrincipalClass<key>
<string>NSApplication</string>
Then insert the following directly below it:
<key>NSUIElement</key>
<string>1</string>
Now running Matlab in Terminal is more intuitive, and your Dock is clear of clutter.
    •    
  • Currently 3.50 / 5
  You rated: 5 / 5 (6 votes cast)
 
[8,367 views]  

Make Matlab Dock icon disappear in -nojvm mode | 3 comments | Create New Account
Click here to return to the 'Make Matlab Dock icon disappear in -nojvm mode' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make Matlab Dock icon disappear in -nojvm mode
Authored by: chtito on Feb 27, '08 11:03:48PM
Yes but why bother with MATLAB (expensive, horribly implemented on mac, broken with Leopard) when there is a more powerful, free, actively maintained, open source alternative: Scipy/matplotlib/IPython?

[ Reply to This | # ]
Make Matlab Dock icon disappear in -nojvm mode
Authored by: mathboynz on Feb 28, '08 01:55:09AM

broken with leopard??

I use matlab everyday (running numerical experiments with 2 dimensional custom special meshes for a bunch of singularly perturbed elliptic and parabolic problems) and it's working beautifully in Leopard (10.5.2) on my 2.4Ghz macbook pro. What specifically is broken with Leopard?




[ Reply to This | # ]
Make Matlab Dock icon disappear in -nojvm mode
Authored by: chtito on Feb 28, '08 09:40:39AM

Don't know. And I don't intend to figure out either! :-) (If you want to know, it is a problem with MATLAB71/bin/mac/libTIFF.dylib). I never use MATLAB anymore anyway so I will probably ditch it altogether.

My point was: if you have problems with MATLAB, why not trying something free, elegant and open source? No license server, much easier to bind existing or new C or Fortran code, a real programming language (python), tensor algebra, cool slicing techniques (broadcasting), etc. etc.



[ Reply to This | # ]