I have measurement data that is stored in form of hierarchical structures containing MATLAB timeseries objects. For example:
MyData
- TimeSeries1
- TimeSeries2
- MyHierarchicalData
-- TimeSeries3
To use those in Simulink I use a from file block that reads these structures from a single file. However, to select signals out of those, the bus selector block needs a corresponding bus object. As the bus object more or less corresponds to the structure, I would like to know whether it is possible to generate a bus object out of my structured timeseries data. If the bus only contained a few variables, doing this by hand would not be a problem but the bus contains roughly 250 elements.
My first guess would be the Simulink API but I thought this problem occured more frequently and there exists an easier solution. If there is none and I am on the wrong trail I would appreciate some feedback as well.
Thanks in advance!