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 个评论

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

请先登录,再进行评论。

 采纳的回答

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

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by