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!