Keyboard preferences enable you to set suggestion and completion options and delimiter matching options in the Command Window, Editor, and Live Editor.
Some keyboard preferences do not apply in the Live Editor.
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.
Suggestions and completions
Select Tab key narrows completions to have MATLAB® continue to reduce the list of possible names for completions as you type each additional character and press the Tab key. This option is not supported in the Live Editor.
For details, see Code Suggestions and Completions.
In the Command Window or Editor sections, select Enable tab completion to have MATLAB suggest and complete names when you type the first few characters of the name and press the Tab key in the Command Window and/or Editor.
In the Command Window or Editor sections, select Enable function hints to have MATLAB display function hints in the Command Window and/or Editor.
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.
In the Live Editor section, select Show automatically to have MATLAB suggest and complete names automatically when you type the first few characters of the name.
Select Show on tab to have MATLAB suggest and complete names only after you press the Tab key.
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