How to receive an echo from system command and display it as a input dialogue box for user interaction
조회 수: 2 (최근 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에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!