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

2 Kommentare

Walter Roberson
Walter Roberson am 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 am 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)
>>

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Rick Rosson
Rick Rosson am 19 Jul. 2011

2 Stimmen

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 Kommentare

Nuno
Nuno am 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 am 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 am 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 am 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!
:-)

Melden Sie sich an, um zu kommentieren.

vignesh kumar
vignesh kumar am 4 Feb. 2015

0 Stimmen

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

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 19 Jul. 2011

Beantwortet:

am 4 Feb. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by