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

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

 Respuesta aceptada

Jan
Jan el 21 de Sept. de 2011
Editada: Jan el 9 de Sept. de 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 comentarios

Doesn't seem to work on R2019b.
Still works fine on R2020b.Thanks.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Sept. de 2011

Editada:

Jan
el 9 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by