Extraneous discrete derivative signals
(To be removed) Diagnostic behavior when discrete model reference inputs drive continuous blocks
Model Configuration Pane: Diagnostics
The Extraneous discrete derivative signals diagnostic configuration parameter will be removed in a future release. (since R2023b) Use the Solver Profiler instead.
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
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 might reset the solver more frequently than necessary, which can affect
This diagnostic applies only to models that contain Model blocks.
The software issues an error during model compilation and terminates the simulation.
The software issues a warning and resets the solver each time the value of the discrete signal changes.
The software does not issue a diagnostic and resets the solver each time the value of the discrete signal changes.
|Safety precaution||No impact|