MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Format Type Options
Text
Alignment

Left

Center

Right
Lists Numbered list

Bulleted list
Standard
Formatting

Bold

Italic

Underline

Monospace

To change the case of selected text or code from all uppercase to lowercase, or vice versa,
select the text, right-click, and select Change Case. You also can press Ctrl+Shift+A. If
the text contains both uppercase and lowercase text, MATLAB changes the case to all
uppercase.

To adjust the displayed font size in the Live Editor, use the Ctrl + Mouse Scroll
keyboard shortcut. The change in the displayed font size is not honored when exporting
the live script to PDF, Microsoft Word, HTML, or LaTeX.

Autoformatting


For quick formatting in live scripts and functions, you can use a combination of keyboard
shortcuts and character sequences. Formatting appears after you enter the final
character in a sequence.

This table shows a list of formatting styles and their available keyboard shortcuts and
autoformatting sequences.

19 Live Scripts and Functions

Free download pdf