when can I use a atomic subsystem in simulink model? (At what conditions we can use atomic subsystem in a model)
140 views (last 30 days)
Show older comments
swathi kumar sravanam
on 8 Sep 2017
Commented: Mahantesh
on 18 Jul 2023
I will be very glad if there are any answers for this.
3 Comments
Venkatraman Nagarajan
on 24 Nov 2020
Is there a specification that my subsystem has to be atomic if I have to do auto-code generation?
Accepted Answer
Sebastian Castro
on 11 Sep 2017
Edited: Sebastian Castro
on 6 Nov 2017
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
More Answers (0)
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!