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

8 visualizaciones (últimos 30 días)
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by