Development Environment    

Setting Preferences

Set preferences to modify the default behavior of some aspects of MATLAB such as the font used in the Command Window. 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.

To set preferences:

  1. Select Preferences from the File menu.

    The Preferences dialog box opens. The page it opens to reflects the currently active window.

  1. In the left pane, select the type of preferences you want to specify. In the above example, General preferences are selected.

    If a + appears to the left of an item, click the + to display more items, and then select the item you want to set preferences for.

    The right pane reflects the type of preference you selected.

  1. In the right pane, specify the preference values and click OK.

    The preferences take effect immediately.

    Type of Preference and Where Described
    Items You Can Set Preferences For  
    General Preferences for MATLAB
    For desktop display, caching, printing, fonts, colors, and source control system
    Preferences for the Command Window
    Numeric format and display, echo, font, and colors
    Preferences for the Editor/Debugger
    Startup options, font, colors, display, keyboard shortcuts, indenting, and printing
    Printing Documentation
    Documentation location, products, PDF reader location, synchronization, and fonts
    Preferences for the Current Directory Browser
    Number of entries in history and file display options
    Preferences for the Workspace Browser
    Font and confirm deletion of variables
    Preferences for the Array Editor
    Font and numeric format
    GUIDE
    Display options
    Figure Copy Template
    Application, text, line, uicontrols, axis, format, background color, and size
    Simulink
    Display, fonts, and simulation.


 Accessing The MathWorks on the Web General Preferences for MATLAB