I have a system which is strongly non-linear and can only be calculated by a loop in Simulink. The system is implemented using two "Matlab function" blocks.
The individual blocks each provide a good function flow (see Figure 1).
If I now connect the blocks together and interrupt the algebraic loop with the help of a "unit delay", then every second value is missing (see figure 2).
a schematic simulink model is attached
How can I fix this?