How to run a m file without showing command window?
이전 댓글 표시
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?
답변 (1개)
Walter Roberson
2015년 8월 30일
1 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!