regarding the startup options

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

 Respuesta aceptada

Steven Lord
Steven Lord el 8 de Mzo. de 2016

0 votos

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 comentario

Ray Lee
Ray Lee el 8 de Mzo. de 2016
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`?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Mzo. de 2016

Comentada:

el 8 de Mzo. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by