Elaborazione di dati e segnali
Aggiungere e configurare i dati per memorizzare e calcolare i valori relativi agli stati e alle transizioni. Gestire l'ambito, le dimensioni e il tipo dei dati per ottimizzare le interfacce dati. Elaborare i segnali di Simulink® utilizzando eventi di input, eventi di output e mappature dei dati.
Argomenti
- 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.