![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/739549/image.png)
Where is the "Treat as atomic unit" option for Function-Call Subsystem?
54 次查看(过去 30 天)
显示 更早的评论
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/739354/image.jpeg)
0 个评论
采纳的回答
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/739549/image.png)
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!