Executing Tests for a Test File Generated from Simulink Test Manager
2 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2018-12-6
编辑: MathWorks Support Team
2023-4-14
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
2023-4-13
编辑: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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Test Execution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!