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!

 Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 29 Mär. 2019

1 Stimme

That 51 means you have ran the simulation for 50 steps. It records your 6 values at time 0,1,... 50 steps.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by