Development Environment |
Display Preferences for the Editor/Debugger
Use Display preferences to specify how the Editor/Debugger window should look.
Opening files in editor
This preference controls how files are arranged when you open them in the Editor/Debugger. When you change this preference, it applies to files you open after making the change. Currently opened files are not rearranged to match the preference.
Select Single window contains all files (tabbed style) to have a single Editor/Debugger window for all open files, as shown in the following illustration. Click the tab for a file to make it the current file.
Select Each file is displayed in its own window to have a separate Editor/Debugger window for each open file, as shown in the following illustration.
Display
Use display options to specify what is shown and what is hidden in the Editor/Debugger.
Show toolbar. Select this item to display the toolbar. Clear it to hide the toolbar.
Show line numbers. Select this item to show line numbers. They appear along the left side of the window. When you clear this item, line numbers are not shown.
Enable datatips in edit mode. Select this item to see datatips while in edit mode. In edit mode, the datatips display the values of variables in the base workspace, so this is useful for script M-files rather than function M-files. Datatips are always enabled in debug mode.
When you type edit filename
and filename
does not exist, MATLAB displays a prompt asking if you want to create a new file named filename.m
, as described in Creating a New M-File in the Editor/Debugger. The prompt does not appear if you previously selected the check box to not show the prompt again. To again show the prompt, select the check box for Show dialog prompt when editing files that do not exist.
Font & Colors Preferences for the Editor/Debugger | Keyboard and Indenting Preferences for the Editor/Debugger |