timeseries data to MATLAB variable
9 views (last 30 days)
Show older comments
The Simulink model generates a timeseries data that is saved in workspace, how to save a specific column of this to an array in MATLAB?
4 Comments
Walter Roberson
on 25 Dec 2018
Suppose ts is a timeseries, then ts.Data is the full data of the timeseries antd ts.Time is the time values. You can, for example,
ts.Data(:,5000:end,:)
Answers (1)
bushra raza
on 24 Dec 2018
Hi,
convert your timeseries data to timetable.
you need to study "timetable" in Matlab.
Cheers,
See Also
Categories
Find more on Time Series Collections in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!