Check constant inputs
Constant input checking mode for a SIL or PIL execution
Description
App Configuration Pane: Debugging
Configuration Objects: coder.EmbeddedCodeConfig
Constant input checking mode for a SIL or PIL execution.
See Speed Up SIL/PIL Execution by Disabling Constant Input Checking and Global Data Synchronization (Embedded Coder)
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 setting
SILPILCheckConstantInputs
tofalse
.
Programmatic Use
Property:
SILPILCheckConstantInputs |
Values: true |
false |
Default: true |
Version History
Introduced in R2017b