MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Change the Appearance of Code Sections


You can change how code sections appear within the MATLAB Editor. MATLAB highlights
code sections in yellow, by default, and divides them with horizontal lines. When the
cursor is positioned in any line within a section, the Editor highlights the entire section.

To change how code sections appear:

1
On the Home tab, in the Environment section, click Preferences.

The Preference dialog box appears.
2 In the left pane, select MATLAB > Colors > Programming Tools.

(^3) Under Section display options, select the appearance of your code sections.
You can choose whether to highlight the sections, the color of the highlighting, and
whether dividing lines appear between code sections.
18 Scripts

Free download pdf