separate functions or sub-functions
Afficher commentaires plus anciens
Dear all,
I have a main function and several sub-functions. Usually, I keep the function and the sub-functions in one .m file. alternatively, I also can save each sub-function as a separate .m file, and then invoke them in the main function.
my question is what the difference between this two way. for example, time consuming, memory needs etc...
thank you. George
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Entering Commands dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!