do stateflow support Vector State Machine Judgment
Afficher commentaires plus anciens
HI! man&madam:
I'm working on a design for a group of devices that perform the same control strategy based on their terminal voltages, i.e., normal control strategy when the voltage is above a threshold, and fault strategy when the voltage is below a threshold, so I'd like to build a state flow model for control and easy for others to understand, but I'm having trouble outputting the corresponding unit states, and I've tried to add state{idx}=0; to make it a vector instead of a state. How do I set the state so that it is a vector instead, I tried to add state{idx}=0; to initialize it but the system says idx cannot be defined.
I uploaded a demo with three elements and his current output is correct, but the state is one-dimensional data.
Thank you for all!
1 commentaire
dai bowei
le 24 Juin 2024
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


