Find Time Series Objects with Specific Names
11 views (last 30 days)
Show older comments
Hi All
I am trying write a GUI for exploring large data sets of time history data. Each signal has a specific name associated with it. I would like to use time series objects and collections, and then be able to find the specific time series objects that have certain strings in the name. Is there a way of finding time series objects in this way? The tstool would be the obvious choice, but it does not seem to be possible to do this.
Thanks
Etienne
0 Comments
Answers (2)
Fangjun Jiang
on 20 Jul 2011
What type of time series data do you have? Does each signal have a time series object? If that is the case, you can use VarNames=whos to get the names of the variables. I've dealt with Simulink.Timeseries data (the logsout data from Simulink model simulation). I can use logsout.unpack to unpack every signal. Then every signal is a multi-hierarchy structure. It has a field called "Name", which can be easily obtained.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!