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 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!