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

조회 수: 133 (최근 30일)
Adolfo Marro
Adolfo Marro 2022년 4월 15일
답변: Sam Chak 2023년 1월 12일
In previous realeses of Matlab there was the "Fcn" block when I used Simulink, How can I avoid this problem in Matlab R2022a?

답변 (3개)

Steven Lord
Steven Lord 2022년 4월 15일
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
Les Beckham
Les Beckham 2022년 4월 15일
@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 2023년 1월 12일
@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?

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


Harun GIRGIN
Harun GIRGIN 2022년 11월 28일
Thank you all and your answers. These helped a lot.

Sam Chak
Sam Chak 2023년 1월 12일
You can try if the following blocks from the older release still work in your system.

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by