Syntax error in function block of simulink

I am trying to implement a function using simulink, but it throws syntax error. I am using mux with 4 inputs to feed to the function block.
( (u(1)*sin(u(2))) + (u(3)*cos(u(2)))) * sec(u(4))
This is the function which I am trying to implement.

回答 (1 件)

Ankit
Ankit 2021 年 6 月 14 日

0 投票

Please refer to the below link to find out the supported Trignometric Functions:
((u(1)*sin(u(2))) + (u(3)*cos(u(2))))*acos(u(4))

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

リリース

R2018a

質問済み:

2021 年 6 月 12 日

回答済み:

2021 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by