Find: Simulink callbacks from where?
조회 수: 3 (최근 30일)
이전 댓글 표시
I've a model which calls a callback function, but I just can't find the exact block which calls for it.
Is there a way to find from where a callback is produced/requested ?
Thanks!
댓글 수: 1
Kaustubha Govind
2013년 9월 18일
Typically, if you set a breakpoint in the function and run gcb when it stops, it should tell you which block is calling the function.
답변 (1개)
Azzi Abdelmalek
2013년 9월 18일
편집: Azzi Abdelmalek
2013년 9월 18일
Right click on your model, then choose model properties, you will find callbacks, look for Init or other callbacks
참고 항목
카테고리
Help Center 및 File Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!