how to retrieve the Simulink execution order from the workspace
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jeff Hoefler
el 18 de En. de 2016
Comentada: Álvaro
el 21 de Oct. de 2024
I want to be able to retrieve, and store, in the workspace the execution order of a simulink model. I already know how to retrieve all the blocks and their parameters etc. but want to also store the execution order of those blocks
0 comentarios
Respuesta aceptada
C.J. Harris
el 18 de En. de 2016
As far as I know there isn't really an easy way to do this (i.e. using get_param or similar). Instead you have to debug your model using the sldebug command, and then extract the necessary execution order information using the elist command.
Example:
sldebug('MyModel')
Then at the debug prompt you can start by getting the top-level execution list:
elist gcs
See the help for more imformation:
3 comentarios
german baca espinoza
el 27 de Mzo. de 2018
Hello Jeff, i actually have arrived to the same point. Did you manage to solve this?
Más respuestas (0)
Ver también
Categorías
Más información sobre Debug Simulations Programmatically en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!