メインコンテンツ

データと信号の処理

チャート データを管理し、信号の変更に反応して変更を検出し、データ駆動型イベントに反応してアクションをトリガーし、複素数データ型に反応してデータの表現と処理を実行する

ステートと遷移の値を格納および計算するために、データを追加して構成します。データのスコープ、サイズ、型を管理してデータ インターフェイスを最適化します。入力イベント、出力イベント、データ マッピングを使用して Simulink® 信号を処理します。

トピック

  • Detect Data Changes

    Find changes in data values between time steps by using Stateflow operators to trigger state transitions based on variable changes or threshold crossings.

  • Create Data-Driven Events

    Trigger state transitions by using data-driven events based on changes in data values.

  • Use Complex Data Types

    Represent values with real and imaginary components for engineering and scientific applications by using complex data types in Stateflow charts.

  • Maintain Data Type Compatibility

    Preserve data type compatibility in Stateflow charts by defining explicit types, applying proper casting operations, and following action language rules.