Code Generation Readiness Tool - MATLAB & Simulink (original) (raw)

Main Content

The code generation readiness tool screens MATLAB® code for features and functions that code generation does not support. The tool provides a report that lists the source files that contain unsupported features and functions. It is possible that the tool does not detect all code generation issues. Under certain circumstances, it is possible that the tool can report false errors. Therefore, before you generate code, verify that your code is suitable for code generation by generating a MEX function.

The code generation readiness tool does not report functions that the code generator automatically treats as extrinsic. Examples of such functions are plot,disp, and figure.

Issues Tab

Screenshot of the code generation readiness tool with sample code and analysis results.

On the Issues tab, the tool displays information about:

You can also:

Files Tab

Screen shot of files tab.

If the code that you are checking calls functions in other MATLAB code files, the Files tab shows the call dependency between these files. If you select Show MathWorks Functions, the report also lists the MathWorks® functions that your function calls.

See Also

coder.screener | coder.ScreenerInfo Properties