Hi everyone,
I'm aware that if I write matlab -nodesktop from the command line I launch the command window only, but there are some slight differences between the command window only and the one built in (like in the built in command window there are hyper link and aesthetically is better). Is there a way to launch the real command window only? Thanks for the attentionImmagine.png
On the left there is the -nodesktop command window, on the right there is the built in command window undocked

5 Kommentare

Walter Roberson
Walter Roberson am 25 Nov. 2018
Do you mean that you want all the other elements like editor and folder view to be accessible on demand but hidden, or do you mean that those should be disabled and only the command window should be accessible (but the prettier version), such as for use on a system without graphics ?
Marco Bernardini
Marco Bernardini am 26 Nov. 2018
As I use an external editor (Atom) it's useful to have the command window by: I'd like to have the option to open only the command window and not the rest and have the prettier version
Walter Roberson
Walter Roberson am 26 Nov. 2018
Should it be possible to access those components or not? If for example the user executes openvar then should that be refused or should it go ahead?
Marco Bernardini
Marco Bernardini am 26 Nov. 2018
It's ok if it gets refused
Walter Roberson
Walter Roberson am 26 Nov. 2018
Saying that it would be okay if it were refused gets us into the territory of hiding the other components by default. You can get that effect by undocking the various components and closing them.
Saying that it was necessary to refuse the other components would involve some method of effectively using -nodesktop mode while permitting the advanced decoration for error messages and URLs. That would probably be much more difficult.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jan
Jan am 26 Nov. 2018
Bearbeitet: Jan am 26 Nov. 2018

0 Stimmen

CmdWinTool('lean')
Maybe this helps also:
desktop = com.mathworks.ide.desktop.MLDesktop.getMLDesktop;
desktop.setMolerMode;

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018b

Gefragt:

am 25 Nov. 2018

Kommentiert:

am 26 Nov. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by