校验码Using theMATLABCode Analyzer
The code analyzer checks your code for problems and recommends modifications. You can use the code analyzer to check your code interactively in the MATLAB®Editor while you work.
To verify that continuous code checking is enabled:
In MATLAB, select theHometab and then clickPreferences.
In thePreferencesdialog box, selectCode Analyzer.
In theCode Analyzer Preferencespane, verify thatEnable integrated warning and error messages被选中。