MATLAB: Is it possible to add Area annotation programmatically

MATLABsimulink

Hi,
I was wondering if it would be possible to programmatically add area annotation to a model in Simulink.
I have used Simulink.Annotation() to add textual annotation which works fine. I'm looking for a way of highlighting a particular section of the model programmatically depending on certain conditions. The size and position of the area would be determined at runtime.
Any pointers would be much appreciated.
Thank you,
sunny

Best Answer

An "Area" is an "Annotation", with empty "Name", "DropShadow" set as "On".