Transfer the data from dos command prompt to MATLAB GUI text box

1 回表示 (過去 30 日間)
Sainath
Sainath 2011 年 2 月 10 日
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.....

回答 (2 件)

Jos (10584)
Jos (10584) 2011 年 2 月 11 日
Check the help of the OS how to copy/paste from the command window.

Walter Roberson
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.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by