I am doing iterative experiments with my Speedgoat hardware where I would like to start and stop live streaming to monitor signals in MATLAB during the simulation. Before 2020b, I used Target Scopes to trace & import the data, then removed the Target Scope after every iteration to clear the buffer. Target Scopes were removed in R2020b.
To accomplish the same workflow in R2020b and beyond, I am trying to use instruments to start/stop streaming signals to Simulation Data Inspector (SDI) during a running simulation. However, all the data will be shown in the same run in SDI. This makes it hard to visualize the data in SDI, and I cannot clear the data from SDI between the iterations. How can I achieve my desired workflow in Simulink Real-Time R2020b and beyond?