Development Environment |
Set preferences to modify the default behavior of some aspects of MATLAB, such as the font used in the Command Window. These topics are covered:
Using the Preferences Dialog Box
Summary of Preferences
This table provides a summary; see the details for each tool.
Preference |
What You Can Specify |
General Preferences |
Desktop display and toolbox path caching |
Command Window |
Numeric format and display, echo, fonts, colors, keyboard, indenting |
Command History |
Display, filtering, saving, drag and drop |
Editor/Debugger |
Editor type, startup options, fonts, colors, display, keyboard, indenting, autosaving |
Help |
Documentation location, products, PDF reader location (for UNIX), synchronization, fonts |
Current Directory |
Number of entries in history, file display options |
Workspace |
Fonts, confirm deletion of variables |
Array Editor |
Fonts, numeric format |
GUIDE |
Display options |
Figure Copy Template |
Application, text, line, uicontrols, axis, format, background color, size |
Simulink |
Display, fonts, and simulation |
The preferences file is matlab.prf
. Type prefdir
in the Command Window to see the location of the file. The matlab.prf
file is loaded when MATLAB starts and is overwritten when you close MATLAB.
Preferences remain persistent across MATLAB sessions. Note that some tools allow you to control these aspects from within the tool without setting a preference--use that method if you only want the change to apply to the current session.
Accessing The MathWorks on the Web | General Preferences for MATLAB |