LYT - MATLAB Desktop Layout Load or Save

Quickly load or save your MATLAB desktop layout from the command line
431 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 (2024). 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
Categories
Find more on Entering Commands in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0