Thank you, but ts.Data is not working in time series, though useful in structures. I solved the issue by changing the output block properties into array.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
4 Comments
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_654054
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_654054
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_654206
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_654206
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_654211
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_654211
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_655005
Direct link to this comment
https://it.mathworks.com/matlabcentral/answers/437105-timeseries-data-to-matlab-variable#comment_655005
Sign in to comment.