데이터 및 신호 처리하기
차트 데이터를 관리하고 신호 변화에 대응하여 변경 사항 감지, 데이터 기반 이벤트를 통해 동작 트리거, 복소수 데이터형을 사용해 데이터 표현 및 처리
상태 및 천이에 대한 값을 저장하고 계산하기 위해 데이터를 추가하고 구성합니다. 데이터 인터페이스를 최적화하기 위해 데이터 범위, 크기, 유형을 관리합니다. 입력 이벤트, 출력 이벤트, 데이터 매핑을 사용하여 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.