getCurrentAnnotation
R2026bGet current annotation object
Description
gets the
annotationObj = getCurrentAnnotationSimulink.Annotation object of the current annotation.
The current annotation is the most recently selected annotation. When you run an annotation callback function, the current annotation is the annotation whose callback is being invoked.
The function works on all three types of annotations: text, images, and areas.
Examples
Output Arguments
Version History
Introduced in R2019a