I have a complex Simulink simulation. I have a subsystem usually run as non-atomic. Due to the need of making it as a subsystem running at a different sampling time from simulation time step of Simulink, I made it to be atomic. It was running OK for non-atomic but when I switched to atomic, the error below happened
"Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems".
I understand it may involve to a lot of detailed debugs with algebraic loop. Adding simple delays would help but I prefer not to if not having the understanding of the reason. Generally, what would be the reason that you could think of?