Why can't I disable the "Treat As Atomic Unit" box when creating a Triggered Subsystem within a Subsystem?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Ishaan
el 18 de Feb. de 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 comentarios
Ver también
Categorías
Más información sobre Create Large-Scale Model Components en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!