How to run a m file without showing command window?
Afficher commentaires plus anciens
I know how to run matlab functions and scripts without showing splash screen and desktop. for example in cmd.exe:
cd myTestFolder
matlab -nosplash -nodesktop -wait -r "myFunc"
now i need to somehow run a function (a GUI) without even showing command window. is there any command, trick or argument for such task?
Réponses (1)
Walter Roberson
le 30 Août 2015
1 vote
Potentially relevant: http://www.mathworks.com/matlabcentral/answers/87398-matlab-r2013-startup-with-nodesktop-still-opens-graphical-interface
Are you trying to run on MS Windows? If so then http://blogs.mathworks.com/community/2010/02/22/launching-matlab-without-the-desktop/ -nodesktop is not officially supported, and the route would be to use MATLAB in COM Automation mode.
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!