Find category of MATLAB mlint warning ID

Viewed 431

I'm using the checkcode function in MATLAB to give me a struct of all error messages in a supplied filename along with their McCabe complexity and ID associated with that error. i.e;

info = checkcode(fileName, '-cyc','-id');

In MATLAB's preferences, there is a list of all possible errors, and they are broken down into categories. Such as "Aesthetics and Readability", "Syntax Errors", "Discouraged Function Usage" etc.

Is there a way to access these categories using the error ID gained from the above line of code?

2 Answers
Related