Simulink Report Generator for Requirements-Based Testing

An example of using Simulink Report Generator and MATLAB scripting to automate testing
Updated 1 Sep 2016

View License

This example assumes that a Simulink model represents a detailed design that satisfies the requirements in the associated Microsoft WORD document. Furthermore, as set of test cases for these textual requirements has been authored in the included Microsoft EXCEL spreadsheet.
This example shows how to use a combination of MATLAB scripting and Simulink Report Generator to automate the following verification tasks:
1. Import the test cases from EXCEL
2. Run simulations in Simulink using the imported data
3. Compare the output of the Simulink simulation to the expected outputs in the test cases
4. Create a report documenting the testing procedure and success of each test cases.
5. Include links in the test report to the Model Coverage report and a Simulink Web View.

Cite As

Mike Anthony (2024). Simulink Report Generator for Requirements-Based Testing (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license

Updated copyright info in .m and .slx files