How to go to the next line in case of using 'system' command ?
5 ビュー (過去 30 日間)
古いコメントを表示
I am trying to run the program by using 'system' command and then move the mouse cursor and click on it.I can open the program by using 'system' command but it does not follow the next line in the code unless I close the program. I would like to move the mouse cursor without closing the program. How can I stop the 'system ' command after I used it ?
0 件のコメント
採用された回答
TAB
2012 年 6 月 5 日
Try
>> system('YourCommand &')
4 件のコメント
TAB
2012 年 6 月 5 日
You can put the line as
system(' "C:\Documents and Settings\guestaskin\Desktop\model\idling1.$PJ" &') ;
OR
If your program file (idling1.$PJ) can be executed by double click on it, then you can use
>> winopen('C:\Documents and Settings\guestaskin\Desktop\model\idling1.$PJ');
winopen() is equivalent to double clicking on a file.
その他の回答 (1 件)
Muruganandham Subramanian
2012 年 6 月 5 日
Hi askin,
Did you use the 'home ' command. I think it'll work, just try it.
参考
カテゴリ
Help Center および File Exchange で Software Development Tools についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!