Why does SIMULINK give me extra dimension?
1 view (last 30 days)
Show older comments
Alex Yande
on 29 Mar 2019
Answered: Fangjun Jiang
on 29 Mar 2019
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!
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!