I cannot open your .slx since what I have is R2017b, but what I can suggest is not to use zero as the initial condition of the integrator. In case it has to be zero, I suggest using a very small number, like eps.
Simulink error with integrator
2 次查看(过去 30 天)
显示 更早的评论
I am trying to simulate a mechanical dynamical system and I am getting hte following error :
Derivative of state '1' in block 'HW3que2d_least_sq/Integrator3' at time 0.0 is not finite. The simulation will be stopped. 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)
What should I do further to remove the error.
I have also attached my simulink model.
Any help would be really appreciated.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!