How to receive an echo from system command and display it as a input dialogue box for user interaction
4 ビュー (過去 30 日間)
古いコメントを表示
I am executing a command cmd, through
[status,cmdout]=system(cmd,'-echo');
The execution of this statement sometimes returns a question asking yes or no. How do I make this question appear as a question dialogue box so that the user can choose yes/no. The way my command is written right now, the question yes or no appears on a matlab command window but I want it to appear as a question dialogue box.
0 件のコメント
採用された回答
Walter Roberson
2013 年 6 月 27 日
The system() command cannot be used for that. You might be able to use Java Robot, but otherwise you need to get into some method of creating a pipe to the subprocess (doing that is not supported at the MATLAB level.)
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!