このページの翻訳は最新ではありません。ここをクリックして、英語の最新版を参照してください。
view
注釈の検索
構文
説明
例
プログラムによる注釈の作成
プログラムによって注釈を作成、変更、表示します。
新しいモデルを開きます。
open_system(new_system)
関数Simulink.Annotation
を使用して、既定のプロパティで注釈を作成します。
a = Simulink.Annotation(gcs,'This is an annotation.');
注釈の作成後、ドット表記を使用してプロパティの値を設定します。たとえば、18 ポイントのフォントと薄い青色の背景を注釈に適用します。
a.FontSize = 18;
a.BackgroundColor = 'lightBlue';
新しい注釈を表示して、一時的に強調表示するには、関数 view
を使用します。
view(a)
入力引数
a
— 注釈
Simulink.Annotation
オブジェクト
注釈。Simulink.Annotation
オブジェクトとして指定します。
バージョン履歴
R2006a より前に導入
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは 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:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)