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!