regarding the startup options

1 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by