Testsuite for Matlab 2011b?

1 次查看(过去 30 天)
I'm currently working with Simulink in Matlab 2011b and I need to test the model functionality. Ideally, I would like to setup multiple testcases for my Simulink model similar to the testsuite in later versions. Is this possible in Matlab 2011b? If not, are there any ways to work around it?

采纳的回答

Fangjun Jiang
Fangjun Jiang 2020-8-25
编辑:Fangjun Jiang 2020-8-25
For many common cases, using the Signal Builder block to provide the testing signals/vectors is sufficient. You can create multiple tabs, each for a testing case. You can run all the testing cases with one click.
  3 个评论
Fangjun Jiang
Fangjun Jiang 2020-8-25
That won't be practical using the Signal Builder block. You could utilize the Data Import/Export to run the simulation. Using MATLAB script, you could construct the input data, run the simulation, collect the output, make minor modification for another testing case, and run the simulation again. It is all dorable, maybe not as convenient as in the latest MATLAB version with the toolbox.
Mikael Almquist
Mikael Almquist 2020-8-26
Thank you, I guess that will be the easiest solution for me with Data Import and Export blocks and to run the Simulink model using the sim command.

请先登录,再进行评论。

更多回答(0 个)

类别

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

产品


版本

R2011b

Community Treasure Hunt

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

Start Hunting!

Translated by