SimEvents and Exporting Complete Event Information
1 次查看(过去 30 天)
显示 更早的评论
I am not yet a SimEvents user but I have a simple question...
If I use SimEvents blocks to generate a stream of events with attributes, can I export the event information to a text file ?
0 个评论
采纳的回答
Krishna Akella
2019-2-8
Hi Noel,
Sure, you can. Since its event data, I assume you want to export the information as a timeseries. You can use the simulink 'To File' block to send the generated entities to a mat file.
I have attached a simple model with an 'Entity Generator' that sends the entities with 3 attributes to the 'To File' block, that in turn writes out to a MAT file.
- Krishna
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete-Event Simulation 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!