필터 지우기
필터 지우기

Use MATLAB Screen as DOS Prompt

조회 수: 3 (최근 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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by