MATLAB: Am I getting an error about singularities when using an Integer block

integersimulink

I am getting this error from my integral block for a simulation of a non-linear ODE.
Derivative input 1 of 'untitled/Integrator' at time 4.922053393028846e-007 is Inf or NaN. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances).
Here is a screenshot
Any solution is welcome.

Best Answer

See the answer to a similar question here: Question#867
Related Question