error, simscape

1 次查看(过去 30 天)
Rafael Araújo
Rafael Araújo 2012-5-16
Caused by: Error using ==> lBuild at 35 Component has more differential variables than equations.
  1 个评论
Walter Roberson
Walter Roberson 2012-5-16
This appears to be a duplicate of http://www.mathworks.com/matlabcentral/answers/37796-language-simscape

请先登录,再进行评论。

回答(1 个)

K E
K E 2012-5-16
This document by S. Enocksson gives an example of such an error: "you declare two variables in the setup section of the code and then have three equations in equations section. When the numerical solver tries to solve the system it gives an error message because the system of equations becomes over-determined or underdetermined and that causes numerical errors for the equation solver." So, check that your declared variables and equations match up.

类别

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

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by