storing variables using " To Workspace"

Hi In simulink I used the "To Workspace " block as attached in the image. After running the file when i checked the workspace , The variable corresponding to the workspace had only the last value e.g 51. . However the previous values were not present. I guess the simout to workspace cannot store it in vector form. Is there any other block in simulink which could store the variable with all the values it holded from start time of simulation to end of the simulation
Thanking you

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 3 月 8 日

0 投票

In to workspace block set save format to array

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgrammatic Model Editing についてさらに検索

質問済み:

Max
2014 年 3 月 8 日

回答済み:

2014 年 3 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by