Main Content

Report differences from MATLAB®

Potential differences reporting

Description

App Configuration Pane: Debugging

Configuration Objects: coder.MexCodeConfig | coder.CodeConfig | coder.EmbeddedCodeConfig

Specify whether to report potential behavior differences between the generated code and the MATLAB code. A potential difference is a difference that occurs at run time under certain conditions. The MATLAB Coder™ app and the code generation report list potential differences on the Code Insights tab.

Settings

Off

The code generator does not report potential behavior differences between generated code and MATLAB code. This setting is the default setting.

On

The code generator reports potential behavior differences between generated code and MATLAB code on the Code Insights tab of the code generation report.

Programmatic Use

Property: ReportPotentialDifferences
Values: true | false
Default: true

Version History

Introduced in R2017a