Matlab Unit Testing Framework supporting Simulink?

2 ビュー (過去 30 日間)
Till Rahlf
Till Rahlf 2013 年 12 月 13 日
回答済み: Kushagra 2014 年 1 月 18 日
Hi,
we need for our Simulink Software unit tests for quality assurance.
I am looking at the Matlab Unit Testing Framework.
It appears, that it aims at Matlab m-files at the moment.
It would be nice, if there would be a native support for Simulinks models/libraries.
A standardized subclass/plugin or whatever would be nice.
Is there something like that? Will there be in a next release?
Thanks

回答 (3 件)

Andy Campbell
Andy Campbell 2013 年 12 月 13 日
Hello Till,
The MATLAB Unit Test framework is written for use with the MATLAB language. However, using Simulink commands like sim/get_param/set_param and so forth you can certianly use MATLAB code written as tests in the framework to drive the Simulink model under test for a variety of scenarios.
Also, we have a host of verification and validation products for our Model Based Design platform. Take a look at them here.
Hope that helps!
Andy

Jens
Jens 2014 年 1 月 13 日
A systematic way of testing Simulink models is provided by TPT. TPT is not a native build in of Simulink but seamless coupled to Simulink. It provides not only testing but also test assessments and documentation.

Kushagra
Kushagra 2014 年 1 月 18 日
You can use Simulink Design Verifier to generate test cases for simulink models

カテゴリ

Help Center および File ExchangeGenerate Tests についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by