How to permanently disable warnings in MATLAB editor?

 Accepted Answer

I believe you can do that by un-checking the "Enable integrated warning and error messages" checkbox under the Code Analyzer options:

More Answers (1)

Jan
Jan on 15 Nov 2022
Edited: Jan on 15 Nov 2022
You can disable the MLint warnings directly in the editor with a right click on the concerned command: The disabling can concern a specific message, the current file or all file.
You can do this in the preferences also, so I do not understand, why you did not find it there. See: https://www.mathworks.com/matlabcentral/answers/97057-how-can-i-permanently-disable-a-specific-warning-that-m-lint-generates#answer_106407
See: Preferences -> Matlab -> Code Analyzer

1 Comment

My mistake. I kept looking in the subsections of Preferences -> Matlab -> Editor/Debugger. Thank you!

Sign in to comment.

Categories

Products

Release

R2021b

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!