when can I use a atomic subsystem in simulink model? (At what conditions we can use atomic subsystem in a model)
조회 수: 140 (최근 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!