How can I use struct variables in simulink model?

  1. How can I use struct variables in simulink model?
  2. How to creat and destory struct variables in simulink model dynamicly?
  3. Can I convert the model mentioned above to C code by Embedded Coder?
  4. If you have any ideal,please let me know.Thanks

回答 (1 件)

Chandrasekhar
Chandrasekhar 2014 年 3 月 25 日

0 投票

hi,
1.Struct variables can be implemented with the help of bus objects in simulink 2. they cannot be dynamically created or destroyed. 3. yes, the model can be converted to C code using embedded coder

カテゴリ

ヘルプ センター および File ExchangeEvent Functions についてさらに検索

質問済み:

2014 年 3 月 25 日

回答済み:

2014 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by