MATLAB Answers

SimEvents and Exporting Complete Event Information

2 views (last 30 days)
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 Comments

Sign in to comment.

Accepted Answer

Krishna Akella
Krishna Akella on 8 Feb 2019
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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.

Tags

Products