How to reset MATLAB layout to default (commandline)

458 Views Asked by At

How do I reset the layout of Matlab in commandline instead of clicking it (shown below)? Googled but could not find, this question/answer might help others to find this information.

enter image description here

1

There are 1 best solutions below

1
rinkert On BEST ANSWER

From undocumentedmatlab.com:

desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.restoreLayout('Default');