Preference tools

Programmatically get/set GUI preferences.

You are now following this Submission

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.

Cite As

Richie Cotton (2026). Preference tools (https://se.mathworks.com/matlabcentral/fileexchange/27588-preference-tools), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0