advantages of nested functions
4 ビュー (過去 30 日間)
古いコメントを表示
Hi ! :)
I am wondering about what the advantages are of using nested functions other than that the workspace of parent function will be available fo rnested functions. If I had written a long function, would it have taken longer time to run that function than if I had nested som functions within a parent function..?
0 件のコメント
回答 (1 件)
Matt J
2021 年 12 月 6 日
Another advantage is that it allows you to store function parameters in handles, see,
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!