Where can I find Fcn block in simulink in matlab R2022a?

33 visualizaciones (últimos 30 días)
Adolfo Marro
Adolfo Marro el 15 de Abr. de 2022
Respondida: Sam Chak el 12 de En. de 2023
In previous realeses of Matlab there was the "Fcn" block when I used Simulink, How can I avoid this problem in Matlab R2022a?

Respuestas (3)

Steven Lord
Steven Lord el 15 de Abr. de 2022
Which of the blocks in the User-Defined Functions library do you want to use?
I'm guessing you want either MATLAB Function or Interpreted MATLAB Function.
  6 comentarios
Les Beckham
Les Beckham el 15 de Abr. de 2022
@Sam Chak, oh, yes, I remember that block now. It has been a while since I worked with Simulink. As you said, the Interpreted Matlab Function block appears to be the replacement.
Andreas
Andreas el 12 de En. de 2023
@Sam Chak But the interpreted matlab function is set to be removed in the future as well.
"The Fcn block comes in handy for user who wishes to quickly enter a relatively simple equation such as:
u(1) + sin(u(2))*tan(u(3)) + cos(u(2))*tan(u(3))"
Exactly. Any better way to achive this?

Iniciar sesión para comentar.


Harun GIRGIN
Harun GIRGIN el 28 de Nov. de 2022
Thank you all and your answers. These helped a lot.

Sam Chak
Sam Chak el 12 de En. de 2023
You can try if the following blocks from the older release still work in your system.

Categorías

Más información sobre Math Operations en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by