How to run a m file without showing command window?

24 views (last 30 days)
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?

Answers (1)

Walter Roberson
Walter Roberson on 30 Aug 2015
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.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!