Weiwu Li, MathWorks
In Simulink® you can use data logged to persistent storage in one simulation as input for another simulation. You can use a matlab.io.datastore.SimulationDatastore object in a Simulink.SimulationData.Dataset object to stream data into a root Inport block. SimulationDatastore input data streams in small chunks (100 samples at a time, by default). The data is loaded as the simulation needs it. The entire data for a signal is never fully loaded into memory.