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)
I will be very glad if there are any answers for this.
  3 Comments

Sign in to comment.

Accepted Answer

Sebastian Castro
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)

Community Treasure Hunt

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

Start Hunting!