Transfer the data from dos command prompt to MATLAB GUI text box
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I like to transfer/ copy the data from doc command prompt/window to
text-box control in MATLAB GUI application.
I mean
Let say in the dos command prompt we have this data
"Hai Hai Hai Hai Hai"
I like to copy the same data from dos command prompt to text-box control in MATLAB GUI application.
Thank you.....
댓글 수: 0
답변 (2개)
Jos (10584)
2011년 2월 11일
Check the help of the OS how to copy/paste from the command window.
댓글 수: 0
Walter Roberson
2011년 2월 11일
Java Robot class is the only way I can think of to do this interactively.
If it is okay to wait until after the dos program is finished, then use evalc() to capture its output.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!