Syntax Error using Fcn Block
Show older comments
I am trying to use Fcn Block but everytime i get this error
The Expression is (1/Mus)*(Ks*(u[3]-u[4])+Ct*(u([7]-u[2])+Kt*(u[6]-u[4])-u[5]) by taking 7 inputs through Mux and taking as input to Fcn Block
This is the error I am getting
The expression: (1/Mus)*(Ks*(u[3]-u[4])+Ct*(u([7]-u[2])+Kt*(u[6]-u[4])-u[5]) in 'Skyhook_Quater_Car_Me/Quater Car /Fcn1' has a syntax error
Can somebody help me on this..
Thanks in Advance
Accepted Answer
More Answers (1)
Tufail Ahmad Bhat
on 26 Jan 2022
0 votes
Did you solve the problem? I am getting the same error.
1 Comment
Do
on 9 Jun 2023
just replace "[" by "("
Categories
Find more on Programmatic 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!