Main Content

校验码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:

  1. In MATLAB, select theHometab and then clickPreferences.

  2. In thePreferencesdialog box, selectCode Analyzer.

  3. In theCode Analyzer Preferencespane, verify thatEnable integrated warning and error messages被选中。