| Contents | Index |
The Simulink Design Verifier block library includes a sublibrary Example Properties. The Example Properties sublibrary includes:
Basic Properties — Four examples that demonstrate how to prove basic properties.
Temporal Properties — Four examples that demonstrate how to define temporal properties on Boolean signals
The workflow for using these examples in your model is:
Copy these examples into your Verification Subsystem block.
Adapt them, if required, for the specific properties that you want to prove.
Run the Simulink Design Verifier analysis to prove that the assertions in these examples never fail.
If the assertion fails, the software creates a counterexample that causes the assertion to fail and then generates a harness model.
On the harness model, execute the counterexample to confirm that the assertion fails with that counterexample.
To view the Basic Properties examples:
Open the Simulink Design Verifier block library. Type:
sldvlib
Double-click the Example Properties sublibrary.
Double-click the Basic Properties block that contains the examples.
The sections that follow describe each example in the Block Properties sublibrary in detail.
The Simulink Design Verifier Implies block allows you to test for conditions that trigger a result. This example specifies that if condition A is true, result B must always be true.

The two examples in this section specify that a signal is either:
Always increasing or staying constant
Always decreasing or staying constant

This example describes four conditions that should not be true at the same time.

This example specifies that only one of the four input signals can be true.

To view the Temporal Properties examples:
Open the Simulink Design Verifier block library. Type:
sldvlib
Double-click the Temporal Properties sublibrary.
Double-click the Temporal Properties block that contains the examples.
The sections that follow describe each example in the Temporal Properties sublibrary in detail.
When the input In1 equals ACTIVE, the input In2 is set to INACTIVE after five time steps.

In this example, after five consecutive time steps where the SENSOR_HIGH input is true, the CMD signal becomes true. CMD is true as long as SENSOR_HIGH is true, unless the block is reset by the MANUAL_RESET signal.

In this example, after the input becomes true, the output becomes true for the number of time steps specified in the Detector block, in this case, 5. The input remains true for 5 time steps as well.

When the input In3 equals ON and the input In4 is less than the constant THRESHOLD, In3 is set to OFF within five time steps.

![]() | Proving Properties in a Subsystem | Reviewing the Results | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |