Find: Simulink callbacks from where?
1 回表示 (過去 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!