Borrar filtros
Borrar filtros

Find: Simulink callbacks from where?

1 visualización (últimos 30 días)
Leif
Leif el 18 de Sept. de 2013
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 comentario
Kaustubha Govind
Kaustubha Govind el 18 de Sept. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 18 de Sept. de 2013
Editada: Azzi Abdelmalek el 18 de Sept. de 2013
Right click on your model, then choose model properties, you will find callbacks, look for Init or other callbacks
  1 comentario
Leif
Leif el 18 de Sept. de 2013
I couldn't find it there, that's why I'm asking. The same in block > properties > callbacks.
But the Model works definitely only with the callback function in workspace.

Iniciar sesión para comentar.

Categorías

Más información sobre Model, Block, and Port Callbacks 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!

Translated by