user2305193
user2305193

Reputation: 2059

How to reset MATLAB layout to default (commandline)

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

Upvotes: 1

Views: 624

Answers (1)

rinkert
rinkert

Reputation: 6863

From undocumentedmatlab.com:

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

Upvotes: 1

Related Questions