Simulink: Error in the Jacobian Matrix caused the Simulation to stop at t = 0.0

3 ビュー (過去 30 日間)
Assem Abozeed
Assem Abozeed 2016 年 11 月 3 日
回答済み: Modess Seyednezhad 2017 年 11 月 27 日
Hello,
I have a Simulink model that I use to solve some ODEs. The simulation keeps giving me the following error message: "An error occurred while running the simulation and the simulation was terminated
Caused by: Auto solver has detected that the Jacobian matrix at time t=0.0 has entries which are 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 maximum step size or by tightening the error tolerances)"
I guessed it is probably one of my initial conditions is really big! but I can't seem to understand why would this be the case since I reviewed everything and the model looks okay!
I would appreciate any insights into this problem, Thanks!

回答 (1 件)

Modess Seyednezhad
Modess Seyednezhad 2017 年 11 月 27 日
I got the same error , abut I have reciprocal math function which has a zero denominator at the beginning of the time interval which is [0 10].
How can I solve it >?

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by