Hi forum,
There are several ways to save simulation results to file. Today I'm using ToCSV block to write directly into a file during simulation


I can easly define the sampling time (event control), set the filename by variable and switch between overwrite and append data.
As an alternative I can write variables into workspace and save them after simulation into file (here mat-file)


To determine the sampling rate I also can use event control with SignalOut block.
Do you know other methods? Which one do you use? And which one is the most efficient (speed, use of memory, ...)?
Please share your thoughts and experience with me.
RoKet