Extraneous discrete derivative signals
(Removed) Diagnostic behavior when discrete model reference inputs drive continuous blocks
Model Configuration Pane: Diagnostics
The Extraneous discrete derivative signals diagnostic configuration parameter has been removed. (since R2024a) Use the Solver Profiler instead. For more information, see Compatibility Considerations.
Description
This parameter specifies whether the software issues an error, a warning, or no diagnostic when a discrete input to a Model block connects to the input of a block that has continuous states. In this situation, the software cannot determine with certainty the appropriate rate at which to reset the solver to ensure simulation accuracy.
When you do not specify this parameter value as error
, the
simulation proceeds. The software resets the solver each time the discrete signal
updates. This solver reset rate ensures that the simulation results are accurate when
the discrete signal is the source for the input signal to the block with continuous
states. When the discrete signal is not the source for the input signal to the block
with continuous states, the software can reset the solver more frequently than
necessary, which can affect simulation performance.
This diagnostic applies only to models that contain Model blocks.
Settings
none
(default) | error
| warning
error
The software issues an error during model compilation and terminates the simulation.
warning
The software issues a warning and resets the solver each time the value of the discrete signal changes.
none
The software does not issue a diagnostic and resets the solver each time the value of the discrete signal changes.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter:
ModelReferenceExtraNoncontSigs |
Value:
'none' | 'warning' |
'error' |
Default:
'error' |