Check constant inputs - Constant input checking mode for a SIL or PIL execution - MATLAB (original) (raw)

Main Content

Constant input checking mode for a SIL or PIL execution

Description

Settings

On

This value is the default value.

The SIL or PIL execution compares the value that a test file provides for a constant input argument with the value specified at code generation time. If the values do not match, an error occurs.

Off

The SIL or PIL execution does not compare the value that a test file provides for a constant input argument with the value specified at code generation time. The SIL or PIL execution uses the value specified at code generation time. If the test file uses a different value, then the results in MATLABĀ® might differ from the results in the SIL or PIL execution.

It is possible to speed up a SIL or PIL execution by settingSILPILCheckConstantInputs tofalse.

Programmatic Use

**Property:**SILPILCheckConstantInputs
Values: true |false
Default: true

Version History

Introduced in R2017b