Whats the use of an inline function (function at end of script)?
조회 수: 1 (최근 30일)
이전 댓글 표시
is the primary benefit not having extra function files for a script?
댓글 수: 0
채택된 답변
Walter Roberson
2018년 5월 5일
Reducing the number of files is one benefit. Another is that the function becomes private to the script.
When routines are not too large, it can be easier to read them together when they are in the same file.
추가 답변 (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!