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
Best Answer