Formalize Requirements in Simulink Models
Evaluate logic before and during simulation with Requirements Table
blocks
Define formal requirements in Simulink® models by using the Requirements Table block to evaluate logic before and at run time. Use formal requirements to check the outputs of your model or execute block outputs.
Configure the formal requirements directly in the block, in the Requirements Editor, or with programmatic commands in MATLAB®.
Blocks
Requirements Table | Model formal requirements with input conditions (Since R2022a) |
Functions
Objects
Object Functions
Operators
Topics
Create and Manage Requirements
- Use a Requirements Table Block to Create Formal Requirements
Assess formal requirements by using Requirements Table blocks. (Since R2022a) - Add Assumptions to Requirements
Use assumptions to constrain formal requirement data in Requirements Table blocks according to physical limitations. (Since R2022a) - Specify Row Type in Requirements Table Blocks
Use the Requirements Table to define the row type of requirements and assumptions. (Since R2022a) - Establish Hierarchy in Requirements Table Blocks
Create child rows to establish parent-child relationships between requirements or assumptions. (Since R2022a) - Specify Child Evaluation in Requirements Table Blocks
Specify how the block evaluates requirements at the same level in the Requirements Table.
- Create Requirements Table Blocks Programmatically
Use the MATLAB command line to create and modify Requirements Table blocks. (Since R2022a) - Control Requirement Execution by Using Temporal Logic
Use temporal logic operators to control requirement evaluation and execution. (Since R2022a) - Detect Data Changes by Using Requirements Table Blocks
Execute formal requirements when data changes between time steps. (Since R2022a) - Leverage Evaluation Order of Formal Requirements
Specify the order of evaluation in a Requirements Table block. (Since R2022a) - Configure Properties of Formal Requirements
Modify the type, description, or rationale for each requirement in your Requirements Table block. (Since R2022a) - Specify Requirements Table Block Properties
Configure how a Requirements Table block interfaces with a Simulink model. (Since R2022a)
Configure Requirement Data
- Define Data in Requirements Table Blocks
Add or modify data that establishes formal requirements. (Since R2022a) - Set Data Types in Requirements Table Blocks
Specify the data types used in formal requirements. (Since R2022a) - Specify Size of Requirements Table Block Data
Specify data sizes in a Requirements Table block. (Since R2022a)
Validate Requirements
- Analyze Requirements Table Blocks for Modeling Problems
Use Simulink Design Verifier™ to validate Requirements Table blocks.
Test Model with Requirements
- What Is a Specification Model?
Overview of specification model and its use in requirements-based verification. (Since R2022b) - Export Tests from Models That Contain Requirements Table Blocks with Simulink Design Verifier
Automate test generation and execution by using models that contain Requirements Table blocks.
Troubleshooting
Debug Requirements Table Blocks
Debug Requirements Table block requirements during simulation. (Since R2023a)