How to convert timeseries to array
232 次查看(过去 30 天)
显示 更早的评论
I am working with SimEvents and want to store the Data of each entity in an array.
Working with "To Workspace" will give me the timesseries, but I want the data in an array.
Changing the setting in "To Workspace" does not work, because it 'Cannot propagate bus signal because this input port requires a non-bus signal.'
Is there an easy way of converting the Data of timeseries to an array?
0 个评论
回答(1 个)
Sai Bhargav Avula
2019-8-2
Changing the setting “save format” in the To Workspace block to Array should work. Another work around would be to use the output block and log the data. You can also use the scope block to log the data.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Messages 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!