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.
From undocumentedmatlab.com:
desktop = com.mathworks.mde.desk.MLDesktop.getInstance;
desktop.restoreLayout('Default');