How can I keep the non-Matlab command window open after executing an executable by double clicking it?
1 回表示 (過去 30 日間)
古いコメントを表示
By double clicking an executable, a non-MATLAB window opens and after the execution, it immediately closes. How can I keep it open?
1 件のコメント
Taylor
2024 年 10 月 21 日
Are you able to provide more details? Assuming this is an EXE created by Compiler, can you share the code you compiled into the EXE?
採用された回答
Matt J
2024 年 10 月 21 日
There is very little context provided by the question, but if it is an executable created with the Matlab Compiler, then for example, this will launch a Windows cmd shell,
!start cmd
and it should persist.
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!