필터 지우기
필터 지우기

Create a MATLAB Unit Test Suite to Test a Simulink Model

조회 수: 2 (최근 30일)
Trevor Fry
Trevor Fry 2017년 6월 19일
답변: Andy Campbell 2017년 6월 19일
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일
Hi Trevor,
This was a feature introduced in R2016b. Here is the corresponding release note.
Hope that helps! Andy

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Test Scripts에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by