ActorSimulation
説明
ActorSimulation オブジェクトは、シナリオ シミュレーションにおけるアクターを表します。ActorSimulation オブジェクトは以下に使用します。
アクターの実行時の属性にアクセスして変更する。
現在のシミュレーション タイム ステップにおけるアクターのアクションにアクセスする。
作成
ScenarioSimulation オブジェクトの get 関数を使用して、シミュレーションから ActorSimulation オブジェクトのリストを取得します。必要に応じて、その後に特定のアクターを取得できます。
オブジェクト関数
convertToStruct | Convert actor to MATLAB structure |
get | Get scenario or static attribute of actor |
getAction | Get actions associated with actor |
getAttribute | Get run-time attribute of actor |
receiveEvent | Receive event from scenario |
sendEvent | Send event to scenario |
setAttribute | Set run-time attribute of actor |
Simulink.ActorSimulation.createMATLABStruct | Create MATLAB structure for bus object for RoadRunner |
Simulink.ActorSimulation.load | Load built-in RoadRunner bus definitions into MATLAB workspace |
例
バージョン履歴
R2022a で導入