Help CenterHelp Center
Find annotation
view(a)
example
view(a) displays and briefly highlights the specified annotation.
a
collapse all
This example shows how to create, modify, and view an annotation programmatically.
Open a new model.
open_system(new_system)
Create an annotation with default properties using the Simulink.Annotation function.
Simulink.Annotation
a = Simulink.Annotation(gcs,'This is an annotation.');
After creating the annotation, use dot notation to set property values. For example, apply an 18-point font and yellow background to the annotation.
a.FontSize = 18; a.BackgroundColor = 'yellow';
To view and briefly highlight the new annotation, use the view function.
view
Annotation, specified as a Simulink.Annotation object.
Introduced before R2006a
Simulink.Annotation | delete | setImage
delete
setImage
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office