Syntax Error in DEE

3 Ansichten (letzte 30 Tage)
Valentina
Valentina am 22 Mär. 2012
Kommentiert: Walter Roberson am 21 Jul. 2019
Hello everybody. I'm using a DEE box in simulink to implement 5 differential equations, but there is a syntax error in what I wrote. Can you find it?
The expression: ((C2*(Ta-u(19))+C3*((C5.^4)-(u(19).^4))+C3*((Ta.^4)-(u(19).^4))+C4*(u(20)-u(19))+c(1))/C1) in 'provaDEE/DEE/x1' has a syntax error

Antworten (1)

MOHD FAHEEM ULLAH
MOHD FAHEEM ULLAH am 21 Jul. 2019
I am also getting same errors by using simulink dee block in matlab2019a. The equations are
(u(2)*(C_sc-x(1))/W)-k*x(2)*x(1)
(Ra*(O_in-x(2))/Wa)-(((n+2+((n+4)*sig))*k*x(2)*x(1)*W)/(4*M_c*Wa*(1+sig)))
(T_ri1*u(2)/W)+(T_a*u(1)*c_pa/(W*c_ps))-(x(3)*(u(2)*c_ps+*c_pa)/(W*c_ps))-(delH*k*x(2)*x(1)/(c_ps*M_c))
  1 Kommentar
Walter Roberson
Walter Roberson am 21 Jul. 2019
Can you attach the file with your code? Not paste it in, attach it - in case there is something that would not show up when pasted

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu General Applications finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by