- “Data Store Memory” block can store the time series data and let you use it later in the simulation.
- Use the “Data Store Write” block to write data to the “Data Store Memory” at the right moment during the simulation.
- If you want to mirror the data, use the “Data Store Read” block to get the data from the “Data Store Memory” and send it out.
- The "Data Store Write" block writes data(myData).
- The "Data Store Memory" block stores data.
- The "Data Store Read" block mirrors the stored data.
- A "Gain" block processes the data during the same simulation.
- A Scope verifies that the stored and read data are identical and processed input shows gain by 2.


- https://www.mathworks.com/help/simulink/slref/datastorememory.html
- https://www.mathworks.com/help/simulink/slref/datastorewrite.html
- https://www.mathworks.com/help/simulink/slref/datastoreread.html