Keyboard preferences enable you to set tab completion, function hints, and delimiter matching in the Command Window and Editor.
Note: Keyboard preference changes do not apply in live scripts.
To set Keyboard Preferences, on the Home tab, in the Environment section, click Preferences. Select MATLAB > Keyboard, and then adjust preference options as described in this table.
Select the tool or tools in which you want the Tab key to complete names known to MATLAB® after you type the first few letters of the name.
For details, see Tab Completion.
Select Tab key narrow completions to have MATLAB continue to reduce the list of possible names for completion as you type each additional character and press the Tab key.
Specify the selected tool or tools that you want to display syntax function hints.
When enabled, if you type a function name with an opening parenthesis, and then pause, a tooltip opens showing the basic syntax for the function. For example:
For details, see Function Syntax Hints.
Specify when and if MATLAB alerts you to matched and mismatched delimiters. Delimiters include parentheses, brackets, braces, and, in the Editor only, paired keywords.
If you select Match while typing, MATLAB alerts you to matched and mismatched delimiters as you type.
If you select Match on arrow key, MATLAB alerts you to matched and mismatched delimiters when you move the cursor over a delimiter using an arrow key.
For details, see Delimiter Matching.
Select one of these Show match with options to specify how MATLAB indicates matching delimiters:
Select one of these Show mismatch with options to specify how MATLAB indicates mismatched delimiters