I have a syntax error with Fcn
Show older comments
I want to give a formula is sign(u(2)-u(3)) into Fcn, but I got a message is
The expression: sign(u(2)-u(3))
in 'hebonnuoc/He bon nuoc /h1dot'
has a syntax error
Accepted Answer
More Answers (1)
Fangjun Jiang
on 28 Sep 2020
0 votes
Use "sgn" instead of "sign". It is in the document. Click "Help" after double click the block.
Categories
Find more on Simulink 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!