getCallbackAnnotation | Get annotation executing callback |
Simulink.Annotation | Create and specify properties of text, image, and area annotations |
Specify MATLAB® code that executes at certain action points for models, for example after the model loads or when you save it.
Set block callbacks that execute when blocks are loaded, opened, or edited.
Set callbacks on input and output ports that execute every time the connectivity of these ports changes.
Use callback tracing to determine the callbacks that Simulink® invokes.
Callbacks for Customized Model Behavior
How to use callbacks to customize a model.