Executing Tests for a Test File Generated from Simulink Test Manager

2 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2023-4-14
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:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Test Execution 的更多信息

标签

尚未输入任何标签。

产品


版本

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by