Matlab APP from windows cmd
11 ビュー (過去 30 日間)
古いコメントを表示
Przemyslaw Gontar
2017 年 11 月 23 日
回答済み: Walter Roberson
2017 年 11 月 23 日
Hello, I wrote app in matlab but created .exe dont run properly (a lot of broken function). So I want open packaged and installed APP in Matlab from Windows cmd. So I run:
matlab -nosplash -nodesktop -minimize -r 'matlab.apputil.run('ThorlabsLC100APP')'
But I have error:
Error: Unexpected MATLAB expression.
I must add that running:
matlab.apputil.run('ThorlabsLC100APP')
in Matlab gui work. So my question is: there is any option to run app from cmd using only matlab command window ? I want create .bat file and double-clicking on it will open app.
Thanks
0 件のコメント
採用された回答
Walter Roberson
2017 年 11 月 23 日
matlab -nosplash -nodesktop -minimize -r "matlab.apputil.run('ThorlabsLC100APP')"
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!