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 Comment

Please provide us with the syntax error that you are getting.

Sign in to comment.

 Accepted Answer

Sarah
Sarah on 18 Dec 2014
The error is that the letter s in sin is capital. make it 'sin' not 'Sin'.

More Answers (0)

Categories

Find more on Test Model Components in Help Center and File Exchange

Asked:

on 18 Dec 2014

Commented:

on 19 Dec 2014

Community Treasure Hunt

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

Start Hunting!