Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Export Entities ID and TimeStamp data from Simevents Blocks to workspace

2 vues (au cours des 30 derniers jours)
Chi Wai Wong
Chi Wai Wong le 20 Juin 2022
Clôturé : Chi Wai Wong le 22 Juin 2022
Hi All,
I am a new comer to Matlab because of Simevents.
I have built a Simulink file with some entity blocks.
Could you please help to advise the way to study of exporting the list of all entity.Id with the time of arrive/depart at each block to workspace?
I did read some documentations about the “simevents.SimulationObserver / getBlocksToNotify / getEventCalendars......” and opened the m file from the examples such as “CustomVisualizationExample”.
However, I couldn’t work it out how to get the entities data from the Simulink model to the workspace by those function.
I could export the data from Scope to workspace but couldn’t export the entity ID and arrive/depart time data.
Not asking a step by step answer. Just hope someone could provide some key words or directions for me to study further.
Thank you

Réponses (0)

Cette question est clôturée.

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by