Use MATLAB Screen as DOS Prompt

2 visualizzazioni (ultimi 30 giorni)
Umberto
Umberto il 30 Nov 2011
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.

Risposte (3)

Jason Ross
Jason Ross il 30 Nov 2011
Try
system('cmd')
  1 Commento
Umberto
Umberto il 30 Nov 2011
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.

Accedi per commentare.


Daniel Shub
Daniel Shub il 30 Nov 2011
I think you want to start MATLAB with the -nodesktop option.
matlab -nodesktop

Umberto
Umberto il 30 Nov 2011
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.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by