How can I create a persistent structure variable that is initialized using external C-Code in Simulink 7.5 (R2010a)?
显示 更早的评论
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;
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!