Where can I find fcn block in matlab R2020b?

200 visualizaciones (últimos 30 días)
Da Yeon Seo
Da Yeon Seo el 15 de Oct. de 2020
Comentada: Walter Roberson el 1 de Abr. de 2023
I just downloaded matlab version 2020b and started simulink.
However I just can't find that fcn block.
Where is it in matlab version 2020b? and what is that block's name?
  4 comentarios
Monte
Monte el 1 de Abr. de 2023
What gets put into the "Matlab Function Block", y = f(x), in order to convert a continuously ramping "x" to a "y" that
ramps from 0 to 2pi and resets to 0 and rises again.

Iniciar sesión para comentar.

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 15 de Oct. de 2020
From the documentation, it appears that the block has been removed from R2020b: https://www.mathworks.com/help/simulink/ref_obsolete_blocks/fcn.html. It has been depreciated for several past releases. Use the MATLAB function block: https://www.mathworks.com/help/simulink/slref/matlabfunction.html, which is much more flexible and easy to use.
  9 comentarios
Walter Roberson
Walter Roberson el 8 de Oct. de 2022
I suggest you have a look at https://www.mathworks.com/matlabcentral/answers/1653710-global-variable-in-simulink#comment_2009495 where I show how to construct Simulink global variables and parameter objects at the MATLAB level.
Fahed Daoud
Fahed Daoud el 14 de Nov. de 2022
Thanks bro thats was helpful .

Iniciar sesión para comentar.

Más respuestas (2)

Siamak Lotfi
Siamak Lotfi el 20 de Nov. de 2021
thanks

elkhalifa
elkhalifa el 2 de Dic. de 2022
thank you

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by