Find: Simulink callbacks from where?
2 views (last 30 days)
Show older comments
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 Comment
Kaustubha Govind
on 18 Sep 2013
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.
Answers (1)
Azzi Abdelmalek
on 18 Sep 2013
Edited: Azzi Abdelmalek
on 18 Sep 2013
Right click on your model, then choose model properties, you will find callbacks, look for Init or other callbacks
See Also
Categories
Find more on Model, Block, and Port Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!