Main Content

Check Code Using the MATLAB Code 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 the Home tab and then click Preferences.

  2. In the Preferences dialog box, select Code Analyzer.

  3. In the Code Analyzer Preferences pane, verify that Enable integrated warning and error messages is selected.