Main Content

matlab.keyboard Settings

Keyboard settings including suggestions and completions settings

You can customize MATLAB® using the matlab.keyboard settings. Access matlab.keyboard settings using the root SettingsGroup object returned by the settings function. For example, set the temporary value for whether to show suggestions and completions automatically in the Live Editor to 0 (where the default is 1). When set to 0, suggestions and completions show only after you press the Tab key.

s = settings;
s.matlab.keyboard.suggestions.ShowAutomatically.TemporaryValue = 0

For more information about settings, see Access and Modify Settings.

matlab.keyboard.suggestions

Show suggestions and completions automatically in the Live Editor, specified as 1 or 0.

Set to 1 to show suggestions and completions automatically in the Live Editor. Set to 0 to show suggestions and completions only after you press the Tab key.

Example: s.matlab.keyboard.suggestions.ShowAutomatically.TemporaryValue = 0

matlab.keyboard.delimeter

Show delimiter matches and mismatches when typing, specified as 1 or 0.

Set to 1 to have MATLAB alert you to matched and mismatched delimiters as you type.

Example: s.matlab.keyboard.delimiter.ShowMatchesWhenTyping.TemporaryValue = 0

Show delimiter matches and mismatches on arrow key, specified as 1 or 0.

Set to 1 to have MATLAB alert you to matched and mismatched delimiters when you move the cursor over a delimiter using an arrow key.

Example: s.matlab.keyboard.delimiter.ShowMatchesOnArrowKey.TemporaryValue = 0

Introduced in R2018a