MATLAB Answers

In Simulink, how can I resolve a data dependency violation involving a triggered subsystem or a function-call subsystem?

8 views (last 30 days)
In Simulink, how can I resolve a data dependency violation involving a triggered subsystem or a function-call subsystem?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 May 2018
Latch the inputs in the subsystem, which would cause it to use the value from the previous time step.
This breaks the data dependency loop.
See more on the Inport documentation page:

More Answers (0)

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!