Error?

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

2 Comments

Walter Roberson
Walter Roberson on 19 Jul 2011
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.
vignesh kumar
vignesh kumar on 4 Feb 2015
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)
>>

Sign in to comment.

Answers (2)

Rick Rosson
Rick Rosson on 19 Jul 2011

2 votes

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 Comments

Nuno
Nuno on 19 Jul 2011
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 on 20 Jul 2011
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 on 20 Jul 2011
@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 on 20 Jul 2011
@Jan: I am trying very hard to stay focused on facts and data, but it is becoming very challenging. Thanks for the kudos!
:-)

Sign in to comment.

vignesh kumar
vignesh kumar on 4 Feb 2015

0 votes

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)
>>

Categories

Find more on Simulink in Help Center and File Exchange

Products

Asked:

on 19 Jul 2011

Answered:

on 4 Feb 2015

Community Treasure Hunt

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

Start Hunting!