syntax error in simulink fcn block

( 1/(Ib + Mw*L^2) )*( (Mb*Lb+Mw*L)*g*Sin( u(1) ) - u(2) - Cb*u(3) + Cw*u(4) )
please help me figure out the syntax error i'm getting.
thank you.

1 Commento

Sarah
Sarah il 18 Dic 2014
Please provide us with the syntax error that you are getting.

Accedi per commentare.

 Risposta accettata

Sarah
Sarah il 18 Dic 2014

1 voto

The error is that the letter s in sin is capital. make it 'sin' not 'Sin'.

Più risposte (0)

Categorie

Scopri di più su Prepare Model Inputs and Outputs in Centro assistenza e File Exchange

Richiesto:

il 18 Dic 2014

Commentato:

il 19 Dic 2014

Community Treasure Hunt

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

Start Hunting!

Translated by