How can I create a persistent structure variable that is initialized using external C-Code in Simulink 7.5 (R2010a)?
Afficher commentaires plus anciens
I would like to make a persistent Embedded MATLAB structure that is populated by an external C structure.
For example, I would like to use my custom function 'use_struct' to initialize an instance of a custom structure (MyStruct) to use the following values
my_instance.s1=42;
my_instance.s2=84;
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink Coder 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!