Syntax Error Simulink fcn block
Show older comments
The expression: (-3*B*L*L*u(4))/J+(a*L*u(1))+(a*L*u(2))+(a*L*u(3)) in 'omnirobotcontrol/Subsystem/theta_2dot' has a syntax error.
WhY I am getting this error. I can't see the wrong :(
8 Comments
madhan ravi
on 6 Jun 2020
A picture of the model would help.
lokman alici
on 6 Jun 2020
lokman alici
on 6 Jun 2020
lokman alici
on 6 Jun 2020
Walter Roberson
on 6 Jun 2020
you appear to be using a Math Block for the expression, not a MATLAB Function Block. Math blocks are much more restricted in what they permit.
lokman alici
on 6 Jun 2020
Ameer Hamza
on 7 Jun 2020
Can you show the code inside the MATLAB function block?
lokman alici
on 7 Jun 2020
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
