You have created an algebraic cycle, which means that to calculate the inputs of the Embedded MATLAB block directly depend on the outputs of the block. This is not allowed when the cycle is "self-translating", i.e. There is only one block in a loop.
- (-) - , Embedded MATLAB. . .