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

Arman
Arman 2015년 2월 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