This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.