Use MATLAB Screen as DOS Prompt

4 ビュー (過去 30 日間)
Umberto
Umberto 2011 年 11 月 30 日
Hi guys,
I know for a fact that you can use the MATLAB screen as the Windows DOS prompt, i.e. make the MATLAB command line look exactly like the windows cmd, C:\ and all. I am sure because someone actually showed it to me once. Now I can't for the life of me find out how to do it. I've searched the hell out of Google to no avail. Does anyone have any idea how it's done?
Thank you in advance.

回答 (3 件)

Jason Ross
Jason Ross 2011 年 11 月 30 日
Try
system('cmd')
  1 件のコメント
Umberto
Umberto 2011 年 11 月 30 日
That's it! Thank you so much! I'm a little embarrassed that it's so simple to be honest....I don't know why I remembered it to be so complicated. I might have created that memory myself after the hours I spent looking for this.
Thanks again.

サインインしてコメントする。


Daniel Shub
Daniel Shub 2011 年 11 月 30 日
I think you want to start MATLAB with the -nodesktop option.
matlab -nodesktop

Umberto
Umberto 2011 年 11 月 30 日
Hi all,
Thanks for your answers but maybe I was not clear with my question. I know that the Matlab command prompt can be used as a windows command prompt by putting a ! before the command. That's the functionality I want, except I don't want to be using the !.
I once saw someone make the Matlab command prompt function exactly like the windows cmd. So what you would see when you hit Start-Run-cmd (in XP) would all be there, but in a Matlab window.
Thanks again for the responses.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by