Mathworks Documentation has an example of how to use Matlab Unit test to test Simulink Models: Test Models Using MATLAB Unit Test
However, the line: apsuite = testsuite('AutopilotTestFile.mldatx'); will not run (using my test file). Is creating a test suite from a mldatx file only supported in a certain version of Matlab? I am using 2016a.

 採用された回答

Andy Campbell
Andy Campbell 2017 年 6 月 19 日

0 投票

Hi Trevor,
This was a feature introduced in R2016b. Here is the corresponding release note.
Hope that helps! Andy

その他の回答 (0 件)

カテゴリ

質問済み:

2017 年 6 月 19 日

回答済み:

2017 年 6 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by