Find Time Series Objects with Specific Names
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Fangjun Jiang
2011-7-20
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!