Executing Tests for a Test File Generated from Simulink Test Manager

6 views (last 30 days)
I am presently attempting to execute the tests generated from Simulink Test Manager (in the form of an MLDATX file) programmatically. How might I go about doing this?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 13 Apr 2023
Edited: MathWorks Support Team on 14 Apr 2023
Attached is an example of several ways to execute the tests in an MLDATX file.
One such way, is to load the MLDATX file, and then execute the "run" method for the TestFile object. Below is a link with more information about the TestFile class:
Below is a link with more information about some other ways to programmatically execute tests for Simulink Test:

More Answers (0)

Tags

No tags entered yet.

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!