Syntax error in function block of simulink

2 visualizaciones (últimos 30 días)
Monojit Sarkar
Monojit Sarkar el 12 de Jun. de 2021
Respondida: Ankit el 14 de Jun. de 2021
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.

Respuestas (1)

Ankit
Ankit el 14 de Jun. de 2021
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))

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by