Why can't I disable the "Treat As Atomic Unit" box when creating a Triggered Subsystem within a Subsystem?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The entire box is just grayed out; I tried changing other parameters within that same Triggered Subsystem, but it just doesn't wanna un-gray itself. I'm working with MATLB 2019b version.
0 Kommentare
Antworten (1)
Ishaan
am 18 Feb. 2025
I understand that you're encountering an issue with the "Treat as atomic unit" option being unavailable (greyed out) when creating a Triggered Subsystem. It seems that this behaviour is intentional as Triggered Subsystems are Synchronous Subsystems which forces atomicity.
When a trigger occurs, the entire subsystem must execute as a single block to ensure all internal operations are completed before control returns to the parent system. Allowing execution to go in and out of the triggered subsystem could compromise this integrity and potentially lead to unpredictable behaviour.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Create Large-Scale Model Components 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!