How can I create a persistent structure variable that is initialized using external C-Code in Simulink 7.5 (R2010a)?
Show older comments
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;
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!