when can I use a atomic subsystem in simulink model? (At what conditions we can use atomic subsystem in a model)
142 次查看(过去 30 天)
显示 更早的评论
I will be very glad if there are any answers for this.
3 个评论
Venkatraman Nagarajan
2020-11-24
Is there a specification that my subsystem has to be atomic if I have to do auto-code generation?
采纳的回答
Sebastian Castro
2017-9-11
编辑:Sebastian Castro
2017-11-6
Virtual (or non-atomic) subsystems are simply a visual convenience, but Simulink treats the subsystems as if all the blocks existed at the same level.
Atomic subsystems, on the other hand, let you control the execution of the model. It forces Simulink to run all the blocks in that subsystem as if it were its own separate "function". This has implications for generated code as well, if you're doing that.
- Sebastian
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!