Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running just the matlab editor

Tags:

editor

matlab

Is there a way to just run the matlab (7.9.0) editor and not the rest of the "desktop" on linux?

like image 731
Dan Avatar asked May 26 '10 15:05

Dan


3 Answers

This can't be done directly, because the editor stopped being a stand-alone executable many releases ago. It is now launched as a separate Java window from the Matlab desktop. However, you could try hiding the desktop once the editor is displayed, using the following simple code snippet:

com.mathworks.mde.desk.MLDesktop.getInstance.getMainFrame.hide  % to hide desktop
com.mathworks.mde.desk.MLDesktop.getInstance.getMainFrame.show  % to show desktop

Note that if your editor is docked to the desktop, it will be hidden together with the desktop, so be careful...

like image 184
Yair Altman Avatar answered Nov 19 '22 13:11

Yair Altman


No, this is no longer possible since r2007a.

You can get Matlab syntax highlighting for emacs and vi, though.

like image 33
Jonas Avatar answered Nov 19 '22 12:11

Jonas


On my windows machine, I can start MATLAB with the -nodesktop option, then once in the command prompt, I start only the editor with edit.

Im not sure if this is different in terms of memory space used, but this way you only get the editor and the command prompt (no auto-completion though)

like image 3
Amro Avatar answered Nov 19 '22 13:11

Amro