Main Content

Check Code by 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 command prompt, enter:

    coder.screener('filename')

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

Run 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. It provides a code generation readiness score and lists issues that you must fix prior to code generation.

Run the Code Generation Readiness Tool Using the MATLAB Coder App

After you add entry-point files to your project, the MATLAB® Coder™ app analyzes the functions for coding issues and code generation readiness. If the app identifies issues, it opens the Review Code Generation Readiness page. You can review and fix issues.

See Code Generation Readiness Tool.

The Code Generation Readiness Tool is not supported in MATLAB Online™.