Check that model signal tracks reference signal during simulation

**Library:**Simulink Design Optimization / Model Verification

Simulink Design Optimization / Signal Constraints

Check that a signal remains within the tolerance bounds of a reference signal during simulation.

If all bounds are satisfied, the block does nothing.

If a bound is not satisfied, the block asserts, and a warning message appears in the MATLAB

^{®}command window. You can also specify that the block:Evaluate a MATLAB expression.

Stop the simulation and bring that block into focus.

During simulation, the block can also return a logical assertion signal.

If all bounds are satisfied, the signal is true (

`1`

).If a bound is not satisfied, the signal is false (

`0`

).

You can add Check Against Reference blocks on multiple signals to check that they track reference signals.

You can also plot the reference signal on a time plot to graphically verify the signal tracking.

This block and the other blocks in the Model Verification library test that a signal remains within specified time-domain characteristic bounds. When a model does not violate any bound, you can disable the block by clearing the assertion option. If you modify the model, you can re-enable assertion to ensure that your changes do not cause the model to violate a bound.

If the signal does not satisfy the bounds, you can optimize the model parameters to satisfy
the bounds. If you have Simulink^{®}
Control Design™ software, you can add frequency-domain bounds, such as the Bode magnitude, and
optimize the model response to satisfy both time-domain and frequency-domain
requirements.

The block can be used in all simulation modes for signal monitoring
but only in `Normal`

or `Accelerator`

simulation
mode for response optimization.