Why does SIMULINK give me extra dimension?

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

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)

Products

Community Treasure Hunt

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

Start Hunting!