How to permanently disable warnings in MATLAB editor?

2 views (last 30 days)
I didn't find any relevant setting in the preferences tab.

Accepted Answer

Les Beckham
Les Beckham on 15 Nov 2022
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
PASUNURU SAI VINEETH
PASUNURU SAI VINEETH on 15 Nov 2022
My mistake. I kept looking in the subsections of Preferences -> Matlab -> Editor/Debugger. Thank you!

Sign in to comment.

Categories

Find more on Debugging and Analysis in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by