SIMULINK: Integrator error: Derivative input -24 at time xx is Inf or NaN

1 次查看(过去 30 天)
Dear all.
During simulation, i get error message "Derivative input -24 of modelname at time xx is Inf or NaN". It point out to an integrator block (highlighted).
What strange is :
  • That the integrator block is inside an enabled subsystem. I put several scopes in input and ouput port of the integrator and output port of the enabled block (to see whether the calculation is triggered) and found out there is no value registered (enabled subsytem not triggered).
  • I even put display block and found no value were registered.
I also found in the answers section a similar question about this but is not exactly the same.
I was wondering whether this is also a known bug.
I used Simulink R2013b
Thanks
  1 个评论
Sreeram Mohan
Sreeram Mohan 2014-11-5
Hi IIham,
I have observed in one of my previous experiments that while using a variable step solver the integral does not produce all values as expected.
With the zero crossing detection enabled in the integer blocks however i was able to get the models working.
May be this is something to try out !!
Sreeram

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by