is it possible to write a function inside a script?
古いコメントを表示
is it possible to write a function inside a script? for example is it possible to put at the end of the script?
採用された回答
その他の回答 (2 件)
Lucijano Berus
2018 年 3 月 19 日
1 投票
calling subfunctions: https://www.coursera.org/learn/matlab/lecture/9N7ZS/subfunctions
1 件のコメント
Walter Roberson
2018 年 3 月 19 日
subfunctions are not relevant to the question of whether you can define a function inside a script.
John D'Errico
2015 年 6 月 28 日
0 投票
Short answer: No.
Longer answer: Nnnnnooooo.
Not much else I can say.
カテゴリ
ヘルプ センター および File Exchange で Block and Blockset Authoring についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!