Where can I find fcn block in matlab R2020b?
57 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/381303/image.png)
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 commentaires
Monte
le 1 Avr 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.
Walter Roberson
le 1 Avr 2023
Otherwise,
y = mod(x, 2*pi);
Réponse acceptée
Ameer Hamza
le 15 Oct 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.
Plus de réponses (2)
Voir également
Catégories
En savoir plus sur Simulink Functions dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!