The Matlab desktop enables saving and switching layouts using the main menu. This post shows how to do so programmatically.
Matlab user/system preferences can be changed programmatically, from within your Matlab application or from the Matlab desktop command prompt. This
Matlab's GUI Design Editor (GUIDE) has several interesting undocumented features. This post describes how to customize GUIDE rulers.
The built-in Matlab legend function has a very useful semi-documented feature for automatic dynamic update, which is explained here.