Products & Services Solutions Academia Support User Community Company

Learn more about Simulink Design Verifier   

About Test Case Generation

The Simulink Design Verifier software can generate test cases that satisfy coverage objectives for your model, including:

Test cases help you confirm that a model behaves correctly by demonstrating how its blocks execute in different modes. When generating test cases, the software performs a formal analysis of your model. After completing the analysis, the software produces a report that details the results and a test harness model that contains test cases. Review the report and simulate the test harness model to confirm that the test cases achieve coverage objectives for your model.

Also, you can generate test cases based on the use of test case blocks or functions.

Test Case Blocks

The software provides two blocks that allow you to customize test cases for your Simulink models:

Test Case Functions

The software provides two Embedded MATLAB functions to customize test cases for a Simulink Model or Stateflow chart:

These functions:

See the sldv.test reference page for an example.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS