How do write a function within the same main code
Ältere Kommentare anzeigen
Hello everybody,
I want to know if it is possible to write a function within the same main code rather than write it in separate M file.
Thanks in advance for any help.
Akzeptierte Antwort
Weitere Antworten (1)
Paulo Silva
am 8 Apr. 2011
1 Stimme
yes with subfunctions
1 Kommentar
Matt Tearle
am 9 Apr. 2011
Or nested functions
Kategorien
Mehr zu Holidays / Seasons finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!