MATLAB: When can I use a atomic subsystem in simulink model? (At what conditions we can use atomic subsystem in a model)

atomic subsystems

I will be very glad if there are any answers for this.

Best Answer

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