access my pc completely from matlab
2 ビュー (過去 30 日間)
古いコメントを表示
I would like to use matlab like a operating system .From the command window by using the matlab commands i wants to do the regular things.Where i can get the commands
0 件のコメント
採用された回答
Walter Roberson
2015 年 6 月 6 日
You can use the "!" operator followed by a Windows command. For example
!dir C:
to execute "dir C:" by a command shell.
2 件のコメント
Walter Roberson
2015 年 6 月 6 日
The formal name of My Computer is explorer.exe .
!explorer
For closing the current window, it depends whether you mean the current graphics figure or the current MATLAB tool window (such as the variable browswer) or if you mean a program outside of MATLAB such as you would normally use ALT-F4 to close.
Shutdown would be
!shutdown /s /t 0
or if you are using Windows 8 and want a full power off, you can use
!shutdown /p
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!