MATLAB without display on a Linux server

I get this message when using a remote Linux server running MATLAB, which is (I think) related to Java, but I was not able to find a solution after searching the forum:
desktop is not supported because:
Swing is not currently available.
In file "/opt/MATLAB/R2012b/toolbox/matlab/general/desktop.m" (???), function "desktop" at line 20.
Some of my scripts work fine, but some of them produce this error. Any help is much appreciated.

1 个评论

Another thing is that even if I use `-nodesktop` flag before running my scripts, the error appears.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

提问:

2015-2-1

评论:

2015-2-1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by