I am running a script from MATLAB that simulates a Simulink model using the SIM command. In Simulink, I am logging signals using Scope blocks and To Workspace blocks.
In releases previous to R2009b, the variables logged in the model showed in the MATLAB base workspace after the completion of SIM. Since R2009b, the SIM command returns a single output containing all the logged signals.
What is the best way to extract all the logged signals so that I can post-process the logged data using the same script as in releases older than MATLAB R2009b?
Best Answer