iniline unction in matlab
조회 수: 5 (최근 30일)
이전 댓글 표시
does inline can be used in R2020a? if not, what is the substitution for this function?
댓글 수: 1
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
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
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Function Creation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!