필터 지우기
필터 지우기

how to retrieve the Simulink execution order from the workspace

조회 수: 3 (최근 30일)
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

채택된 답변

C.J. Harris
C.J. Harris 2016년 1월 18일
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:
  댓글 수: 2
Jeff Hoefler
Jeff Hoefler 2016년 1월 18일
That may be OK (although kludgey) BUT how do I actually SAVE the result of typing elist (or slist) while in sldebug so that is available after typing quit on sldebug?
german baca espinoza
german baca espinoza 2018년 3월 27일
Hello Jeff, i actually have arrived to the same point. Did you manage to solve this?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Chemistry에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by