Syntax error in function block of simulink

조회 수: 1(최근 30일)
Monojit Sarkar
Monojit Sarkar 2021년 6월 12일
답변: Ankit 2021년 6월 14일
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일
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))

범주

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by