Is there a script function or variable to determine if running on desktop?
Mostrar comentarios más antiguos
I have a script which I run from the Matlab desktop/display. I wish to run it from the Linux command line without the desktop (using the -nodesktop option). But there are functions in the script which exit if running without the Matlab desktop. Is there a way in the script to not execute those commands if not running on the desktop?
2 comentarios
Stephen23
el 21 de Mzo. de 2018
"...there are functions in the script which exit if running without the Matlab desktop."
Have you tried a judicious application of try and catch ?
Craig Anderson
el 21 de Mzo. de 2018
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!