Where is the "Treat as atomic unit" option for Function-Call Subsystem?

38 ビュー (過去 30 日間)
Yingao Zhang
Yingao Zhang 2021 年 9 月 15 日
コメント済み: Yingao Zhang 2021 年 9 月 18 日
I'm using the Function-Call Subsystem (Subsystem whose execution is controlled by an external function-call input - Simulink (mathworks.com)) in Simulink, and on its Block Parameters panel, it is written that "To enable parameters for code generation, select 'Treat as atomic unit'" (see screenshot). However, after walking through all three tabs on this Block Parameters panel, I can't find this 'Treat as atomic unit' option anywhere. Does anyone know where is this option placed?

採用された回答

Jonas
Jonas 2021 年 9 月 15 日
On my installation (R2020b) the 'Treat as atomic unit' is checked and greyed out. I believe a Function-Call Subsystem is always an atomic unit.
So the fact that the option is not visible for you is probably an issue on your end? Maybe you can try to access the property programmatically.
  1 件のコメント
Yingao Zhang
Yingao Zhang 2021 年 9 月 18 日
Thanks, Jonas

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Find more on Schedule Model Components in Help Center and File Exchange

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by