Is the code that Simulink Data Inspector (SDI) uses to import the mat-file also available to use in matlab to automate the process of making reports?
If you save simulation data in the SDI you can import those mat-files in to Matlab. The data from the mat-file is not as neatly categorised when imported in Matlab as it is in the SDI. SDI returns data labelled with all the relevant run data, while Matlab returns a structure with labels and separate structures with the actual data.
I would like to import several mat-files including multiple simulation results and than perform some static analyses, like mean, deviation etc (all standard matlab functions). And than represent the results.
So what I would like to know is how to read SDIDescriptor and assign the labels of the runs to the structs containing the actual data. SDI does this already, but I cannot find how.