Nonlinear solver fail to converge due to Linear Algebra error. Failed to solve using iteration matrix
3 views (last 30 days)
Show older comments
Hello, I am trying to build an electric vehicle model. This includes a drive cycle, Longitudional driver, PWM control blocks, DC motor, transmission and a vehicle body. The solver configuration fails to work no matter what, I have tried several combinations, also removed some blocks to check if the error goes away.
2 Comments
John D'Errico
on 14 Feb 2023
Ok. So apparently you are doing something wrong. Can we know what? The crystal ball is sooooo foggy these days. It just refuses to let anyone see inside your computer.
I can try reading some tea leaves, if you think it might work.
Answers (1)
Sabin
on 11 Aug 2025
Without a model we cannot point to any root cause because there are many aspects that can cause this. Can be for example a modeling issue, model parameterization, or a combination of the two.
0 Comments
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!