I got reply from MATLAB: "Yes, a higher priority atomic subsystem’s task can preempt another lower priority atomic subsystem’s task. A single rate atomic subsystem can be preempted by blocks or other systems running in a higher priority task. So, atomic system doesn’t imply the system execution is atomic in multitasking environment in real-time deployment. It’s execution can be preempted."
Can atomic subsystem pre-empts with higher priority tasks/interrupts
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ajith P C
le 28 Déc 2016
Réponse apportée : Ajith P C
le 4 Jan 2017
Hello,
I am working with a multi-tasking system on dSPACE microautobox. I am confused with 'atomic' keyword in Simulink subsystem block. Does the higher priority tasks can pre-empt the lower priority atomic subsystem?
Note: In definition of atomic unit, there is no information about the execution status when an higher priority task/ interrupt occurred.
"Cause Simulink software to treat the subsystem as a unit when determining the execution order of block methods. For example, when it needs to compute the output of the subsystem, Simulink software invokes the output methods of all the blocks in the subsystem before invoking the output methods of other blocks at the same level as the subsystem block."
Regards, Ajith
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!