How do write a function within the same main code
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
Paulo Silva
le 8 Avr 2011
1 vote
yes with subfunctions
1 commentaire
Matt Tearle
le 9 Avr 2011
Or nested functions
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!