开发者

Running just the matlab editor

Is there a w开发者_如何学运维ay to just run the matlab (7.9.0) editor and not the rest of the "desktop" on linux?


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...


No, this is no longer possible since r2007a.

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


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)


You can add Matlab syntax highlighting to Kate via a plugin. I don't know about gedit, but there's probably an addon for that as well.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜