iniline unction in matlab

조회 수: 5 (최근 30일)
Amirah Sofia
Amirah Sofia 2020년 5월 13일
편집: Ameer Hamza 2020년 5월 13일
does inline can be used in R2020a? if not, what is the substitution for this function?
  댓글 수: 1
Rik
Rik 2020년 5월 13일
Inline functions should be replaced by str2func calls, or by anonymous functions. What is your use case for inline functions?

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

답변 (1개)

Ameer Hamza
Ameer Hamza 2020년 5월 13일
편집: Ameer Hamza 2020년 5월 13일
Inline still works in R2020a, however, it is not recommended anymore. If you are trying to construct functions from strings, then see str2func(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/str2func.html

카테고리

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

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by