Why does SIMULINK give me extra dimension?

1 view (last 30 days)
To create the values on WS, i use simout command. For ex, if i have a matrix as [1 1 1 1 1 1], it should be created as same on WS. Its dimensions must be 1*6. But on WS, its dimension is 1*6*51. What is the reason of 51 and how can i reject extra datas?
Thx!

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 29 Mar 2019
That 51 means you have ran the simulation for 50 steps. It records your 6 values at time 0,1,... 50 steps.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!