Data dependency violation error with many subsystems!!!

3 views (last 30 days)
Helloo guys,
I am trying to simulate a model through a .m file. My model consists of 5 subsystems. One of the subsystem in dependent on the other subsystems for inputs as its initial values.
When I run the code(.m file) I get this error:
"Input data dependency violation due to action subsystems. See Subsystem Examples in the Simulink library for valid and invalid examples of action subsystems"
"Input ports (1, Action) of 'Subsystem name' are involved in the loop".
I had gone through previous questions but couldnt get any clarity. Could you please help me out in resolving this issue.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!