仅运行 matlab 编辑器
有没有办法只运行 matlab (7.9.0) 编辑器而不运行 Linux 上“桌面”的其余部分?
Is there a way to just run the matlab (7.9.0) editor and not the rest of the "desktop" on linux?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这不能直接完成,因为编辑器在许多版本之前就不再是独立的可执行文件。现在它作为一个独立的 Java 窗口从 Matlab 桌面启动。但是,您可以尝试在显示编辑器后隐藏桌面,使用以下简单的代码片段:
请注意,如果您的编辑器停靠在桌面上,它将与桌面一起隐藏,所以要小心...
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:
Note that if your editor is docked to the desktop, it will be hidden together with the desktop, so be careful...
不,自从 起,这不再可能r2007a。
不过,您可以为 emacs 和 vi 获得 Matlab 语法高亮显示。
No, this is no longer possible since r2007a.
You can get Matlab syntax highlighting for emacs and vi, though.
在我的 Windows 计算机上,我可以使用
-nodesktop
选项启动 MATLAB,然后进入命令提示符后,我仅使用edit
启动编辑器。我不确定这在使用的内存空间方面是否有所不同,但这样您只能获得编辑器和命令提示符(尽管没有自动完成功能)
On my windows machine, I can start MATLAB with the
-nodesktop
option, then once in the command prompt, I start only the editor withedit
.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)
您可以为 Kate 添加 Matlab 语法突出显示 通过插件。我不知道 gedit,但可能也有一个插件。
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.