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

7 views (last 30 days)
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

Accepted Answer

Jan
Jan on 21 Sep 2011
Edited: Jan on 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 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!