image thumbnail

LYT - MATLAB Desktop Layout Load or Save

version 1.0.0.0 (1.79 KB) by Sky Sartorius
Quickly load or save your MATLAB desktop layout from the command line

425 Downloads

Updated 22 Oct 2013

View License

I frequently go from working on a big screen at my desk to undocking my laptop and working on a tiny screen and vice-versa. Especially with the laptop, it’s very convenient not to have to use mouse clicks to change to my preferred MATLAB desktop layout for my current working conditions, hence the LYT function.

LYT by itself changes the MATLAB desktop layout to the default layout, nominally 'Default'. This default layout can be set to your preference in the code.

LYT NAME changes the layout to the saved layout named NAME.

LYT NAME -SAVE saves the current layout as NAME.

Inspired by http://undocumentedmatlab.com/blog/setting-the-matlab-desktop-layout-programmatically/

Cite As

Sky Sartorius (2021). LYT - MATLAB Desktop Layout Load or Save (https://www.mathworks.com/matlabcentral/fileexchange/44040-lyt-matlab-desktop-layout-load-or-save), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!