Stateflow.EventDebug
イベントに対するデバッガーのプロパティ
説明
Stateflow.EventDebug
オブジェクトは、イベントに対するデバッガーのプロパティを指定するために使用します。
作成
イベントには、それぞれに独自の Stateflow.EventDebug
オブジェクトがあります。Stateflow.EventDebug
オブジェクトにアクセスするには、Stateflow.Event
オブジェクトの Debug
プロパティを使用します。
プロパティ
Stateflow® API オブジェクトには、Stateflow エディターで設定した値に対応するプロパティがあります。プロパティにアクセスするかプロパティを変更するには、ドット表記を使用します。複数の API オブジェクトの複数のプロパティにアクセスするか、それらを変更するには、関数 get
および関数 set
をそれぞれ使用します。詳細については、Stateflow オブジェクトのプロパティの変更と関数の呼び出しを参照してください。
Breakpoints
— ブレークポイントのプロパティ
Stateflow.EventBreakpoints
オブジェクト
イベントに対するブレークポイントのプロパティ。次のプロパティをもつ Stateflow.EventBreakpoints
オブジェクトとして指定します。
StartBroadcast
—Start of Broadcast
ブレークポイントを設定するかどうか。数値あるいは logical の 1 (true
) または 0 (false
) として指定します。EndBroadcast
—End of Broadcast
ブレークポイントを設定するかどうか。数値あるいは logical の 1 (true
) または 0 (false
) として指定します。
詳細については、チャートのデバッグのためのブレークポイントの設定を参照してください。
例
イベントに対するブレークポイントの設定
Stateflow.Event
オブジェクト event
の Stateflow.EventDebug
オブジェクトと Stateflow.EventBreakpoints
オブジェクトにアクセスします。
debug = event.Debug; breakpoints = debug.Breakpoints;
Start of Broadcast
と End of Broadcast
のブレークポイントを設定します。
breakpoints.StartBroadcast = true; breakpoints.EndBroadcast = true;
バージョン履歴
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)