How to deal with algebric loops and how to get rid of Nan????
6 ビュー (過去 30 日間)
古いコメントを表示
I built up a full vehicle simulink model. After running the simulation i am getting the error as Algebraic state in algebraic loop containing '...../Integrator' computed at time 0 .4 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances). I have check the output at each block its showing NaN at third step. I gave all the inputs in numeric form instead of that i am getting this message. Please....can any body help me to get out of this error...please
0 件のコメント
回答 (1 件)
Yao Li
2013 年 4 月 9 日
try to add the block 'memory' and give an initial value to each closed loop
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!