Derivative of state '1' in block 'X/Y/Integrator' at time 0.0 is not finite.

Answers (1)

You can see the error in the signal right above that error message
[NaN; 3; 0]
You have a signal that is not finite (NaN) that you are trying to integrate. This is not allowed in Simuink. All signals being integrated must be finite, as the error implies.
Its hard to say exactly what the fix is, but look at the signal and try to see why you have a NaN. Usually in simulink this comes from a division by 0 somewhere.

Asked:

on 16 May 2023

Commented:

on 17 May 2023

Community Treasure Hunt

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

Start Hunting!