2001: Causality loop involving the following signals: signals

Cause

There is a causality loop in the model, which means that a set of blocks that are connected in a loop without any delay (Pre) block. Causality loops are forbidden in RTflow, because it may be difficult or impossible to compile them into executable code. The sequence of signals that constitute the loop are given in the error message.

Resolution

Insert a Pre block anywhere in the loop.