Syntax Error Simulink fcn block
이전 댓글 표시
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
madhan ravi
2020년 6월 6일
A picture of the model would help.
lokman alici
2020년 6월 6일
lokman alici
2020년 6월 6일
lokman alici
2020년 6월 6일
Walter Roberson
2020년 6월 6일
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
2020년 6월 6일
Ameer Hamza
2020년 6월 7일
Can you show the code inside the MATLAB function block?
lokman alici
2020년 6월 7일
채택된 답변
추가 답변 (1개)
Neelkamal
2026년 3월 19일
0 개 추천
Error:The expression: c1*(c2/u(2) - c3*u(3) - c4)*exp(-c5/u(2)) + c6*u(1)
in 'hybridtrail/wind plant/WIND TURBINE /Wind Turbine model/cp(lambda,beta)/Fcn1'
has a syntax error
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

