Structure from workspace to stateflow

4 vues (au cours des 30 derniers jours)
guy edey
guy edey le 31 Mai 2022
Commenté : guy edey le 26 Juil 2022
I use a workspace struct 'xml' as parameter in stateflow.
This structure have missing fieldes. This generate simulink error...
The value at 'xml.Message(1).LENGTH' is unsupported for code generation.
How can I include the missing fields or cancel this error?

Réponses (1)

Muthukumar Ganesan
Muthukumar Ganesan le 25 Juil 2022
Hi,
Please refer to this similar thread.
Thanks
  1 commentaire
guy edey
guy edey le 26 Juil 2022
Hello Muthukumar,
I try with your solution. It's better!
Thanks !

Connectez-vous pour commenter.

Catégories

En savoir plus sur Stateflow dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by