Syntax Error in Simulink Fcn block
Ältere Kommentare anzeigen
I am trying to run a simulink block diagram simulation.
I have the following function in a func block: (( Y* (abs(u(nb+1))<Tfault) ) +(( Yf * (abs(u(nb+1))>=Tfault)) & (abs(u(nb+1)) <(Tfault+Tclear) )) + (Ypf * (abs(u(nb+1)) >= (Tfault+Tclear) ))) \ u(1:nb)
Y,Yf,Ypf are matrices
no matter what I do I continue to get a syntax error and I simply cannot see what the problem is. Can someone please tell me what is wrong with this function.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Array and Matrix Mathematics finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!