What is this error?
Calculation for differential and algebraic state derivatives failed.
How i resolve this?

2 个评论

Walter Roberson
Walter Roberson 2011-7-19
Please use better titles for your posting. "Error?" could mean just about anything, and does not help readers find information that is relevant to _their_ work.
Zone 1 gg ??? Operands to the and && operators must be convertible to logical scalar values.
Error in ==> pro at 836 if SB1(n)==0 && SB2(n)==0 && SB20(n)==0 && (IB1~=0 IB2~=0 ||IB20~=0)
>>

请先登录,再进行评论。

回答(2 个)

Rick Rosson
Rick Rosson 2011-7-19

2 个投票

Please help us help you:
  1. What product(s) are you using?
  2. Describe what you were doing just prior to receiving this error?
  3. Can you post your MATLAB code or a screen shot of your Simulink Model?
Thanks!
Rick

4 个评论

Nuno
Nuno 2011-7-19
I using Simulink...
My model simulate a charger that use a voltage of battery...
My model is this: http://img23.imageshack.us/img23/701/56959075.png
Arnaud Miege
Arnaud Miege 2011-7-20
The reasons for this are likely to be similar to your other question:
http://www.mathworks.co.uk/matlabcentral/answers/11809-help-in-solver-error
which is probably the divide by zero error. Fix this first and then see if have another error.
Jan
Jan 2011-7-20
@Rick: I like your matter-of-fact style to answer questions, which cannot be answered. This is valuable for the forum. +1
Rick Rosson
Rick Rosson 2011-7-20
@Jan: I am trying very hard to stay focused on facts and data, but it is becoming very challenging. Thanks for the kudos!
:-)

请先登录,再进行评论。

vignesh kumar
vignesh kumar 2015-2-4

0 个投票

Zone 1 gg ??? Operands to the and && operators must be convertible to logical scalar values.
Error in ==> pro at 836 if SB1(n)==0 && SB2(n)==0 && SB20(n)==0 && (IB1~=0 IB2~=0 ||IB20~=0)
>>

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

产品

提问:

2011-7-19

Community Treasure Hunt

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

Start Hunting!

Translated by