Why does SIMULINK give me extra dimension?

1 visualizzazione (ultimi 30 giorni)
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!

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 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.

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by