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

5 views (last 30 days)
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?

Answers (0)

Categories

Find more on Results, Reporting, and Test File Management in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!