MATLAB: Simulink feedback error

simulink

Hi,
I am trying to simulate a case in simulink. in my model i have to use a 'If action subsystem' that uses a feedback from its output. but i am getting an error message that says "input data dependency violation due to action subsystem". it shows no error when feedback is not there. please give me a solution.
-saima

Best Answer

In the dialog of the Inport, try to latch the input signal.
Otherwise, introduce a delay in the loop.