which command is for making desktop layout in default form but matlab window be maximize (full screen)

4 Ansichten (letzte 30 Tage)
which command is for making desktop layout in default form but matlab window be maximize (full screen)
in matlab: 'Desktop'>>desktop layout>>default
but i need run this from command window and also after that window of matlab be maximized

Akzeptierte Antwort

Jan
Jan am 21 Sep. 2011
Bearbeitet: Jan am 9 Sep. 2021
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.restoreLayout('Default');
pause(0.1); % Voodoo
desktop.getMainFrame.setMaximized(1);
Some further commands to influence the command window: FEX: CmdWinTool
  5 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Desktop finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by