matlab.codeanalyzer Settings
R2026bCode analyzer settings
You can change how Code Analyzer messages appear in the Editor using the
matlab.codeanalyzer settings. With a few exceptions, these
settings apply to messages in the Editor, Live Editor the MATLAB® Function Block Editor (if your products use that tool), and the Code
Analyzer Report. Access matlab.codeanalyzer settings using the root
SettingsGroup object returned by the settings
function. For example, set the temporary value for the underline option to
1 to only underline errors. By default, the underline options is
set to 2, underlining both errors and warnings.
s = settings; s.matlab.codeanalyzer.UnderlineOption.TemporaryValue = 1
For more information about settings, see Access and Modify Settings Programmatically.
matlab.codeanalyzer
Version History
Introduced in R2020a