How do I know if it's ok to run my script with '-nojvm'?
And what's the difference between '-nodesktop' and '-nodispaly -nosplash'?

 채택된 답변

Steven Lord
Steven Lord 2016년 3월 8일

0 개 추천

Does your script use any Java objects or graphics? If so, it will likely fail to run under -nojvm. If you want to guard your code and test whether or not Java is available, use JAVACHK or USEJAVA.
As for the startup options, '-nosplash' causes MATLAB to launch without displaying the splash screen as described in the documentation.

댓글 수: 1

Ray Lee
Ray Lee 2016년 3월 8일
All are matlab script and functions, no figure is plotted and no java class is called. I'm reading doc about `javachk` and `usejava` at http://cn.mathworks.com/help/matlab/ref/javachk.html.
Thx.
`-nodesktop` is the same as `-nodisplay`?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2016년 3월 8일

댓글:

2016년 3월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by