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

105 Ansichten (letzte 30 Tage)
I will be very glad if there are any answers for this.
  3 Kommentare
Venkatraman Nagarajan
Venkatraman Nagarajan am 24 Nov. 2020
Is there a specification that my subsystem has to be atomic if I have to do auto-code generation?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Sebastian Castro
Sebastian Castro am 11 Sep. 2017
Bearbeitet: Sebastian Castro am 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

Weitere Antworten (0)

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by