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!