Code covered by the BSD License
Richie Cotton (view profile)
12 May 2010
Programmatically get/set GUI preferences.
Watch this File
GetPreference and SetPreference provide a programmatic alternative to the Preferences dialog (File -> Preferences).
Use these to automatically configure your version of MATLAB to how you like it. (Save on setup time with each new release!)
Note that these function rely on undocumented features that may change in future releases. All functions work in R2010a and R2009b, but GetPreference does not work in previous versions.