How to store data to a buffer at specific simulation time or states in Simulink
3 views (last 30 days)
Show older comments
Dear all,
I want to be able to store some data to a variable-sized buffer at specific time of the simulation. For example between time 5 and 7 buffer should be filled.
In addition, I would like to be able to perform some calculations on that buffer in the next simulation step when it has filled.
Currently I have a state machine that outputs different states with regard to input data, but I need to take a buffer of data for analisis between states. So I would like to use states to trigger the buffer fill, and then I need a way to analyse this data in next simulation time.
Do anyone have any suggestions on how to do this?
Thanks, Blaz
0 Comments
Answers (0)
See Also
Categories
Find more on Large-Scale Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!