Check Code Using the Code Generation Readiness Tool

Run Code Generation Readiness Tool at the Command Line

  1. Navigate to the folder that contains the file that you want to check for code generation readiness.

  2. At the MATLAB® command prompt, enter:

    coder.screener('filename')

    The Code Generation Readiness tool opens for the file named filename, provides a code generation readiness score, and lists issues that must be fixed prior to code generation.

Run the Code Generation Readiness Tool From the Current Folder Browser

  1. In the current folder browser, right-click the file that you want to check for code generation readiness.

  2. From the context menu, select Check Code Generation Readiness.

    The Code Generation Readiness tool opens for the selected file and provides a code generation readiness score and lists issues that must be fixed prior to code generation.

Was this topic helpful?