How can I input multiple test cases and extract the output of all test cases at once in Simulink?

4 次查看(过去 30 天)
I have created a simulink model , in which there is two variables and one output. For understanding, lets say it as , 3a+b = x, where a,b are input and x is the output.
In my case, i want to feed several test values for a,b and extract x for corresponding test cases. Like : 1. a=4,b=28 2. a=87, b=23 .........100. a=34, b=74
Now, i am doing it manually by feeding the input as constant block.
what function or option should I use to make all the test cases run at once & extract the outputs as graph or excel sheet?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Results, Reporting, and Test File Management 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by