Procesar datos y señales
Añada y configure datos para almacenar y calcular valores para estados y transiciones. Gestione el ámbito, el tamaño y el tipo de los datos para optimizar las interfaces de datos. Procese señales de Simulink® mediante eventos de entrada, eventos de salida y asignaciones de datos.
Temas
- 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.