How to run a m file without showing command window?
24 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Walter Roberson
on 30 Aug 2015
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.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!