storing variables using " To Workspace"

1 次查看(过去 30 天)
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
In to workspace block set save format to array

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by