SimEvents and Exporting Complete Event Information

1 Ansicht (letzte 30 Tage)
Noel Brady
Noel Brady am 7 Feb. 2019
Beantwortet: Krishna Akella am 8 Feb. 2019
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 ?

Akzeptierte Antwort

Krishna Akella
Krishna Akella am 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

Weitere Antworten (0)

Kategorien

Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by