Where can I find fcn block in matlab R2020b?

조회 수: 193 (최근 30일)
Da Yeon Seo
Da Yeon Seo 2020년 10월 15일
댓글: Walter Roberson 2023년 4월 1일
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
Monte
Monte 2023년 4월 1일
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.

댓글을 달려면 로그인하십시오.

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 10월 15일
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
Walter Roberson
Walter Roberson 2022년 10월 8일
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 2022년 11월 14일
Thanks bro thats was helpful .

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Siamak Lotfi
Siamak Lotfi 2021년 11월 20일
thanks

elkhalifa
elkhalifa 2022년 12월 2일
thank you

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by