Number of functions in a function-M file
Afficher commentaires plus anciens
Is it that there should be only one function in a function M file or there can be any number of functions in a function M file?
Réponse acceptée
Plus de réponses (2)
Shalini
le 5 Mar 2012
0 votes
Sean de Wolski
le 5 Mar 2012
function z = A;
z = B;
function z = B;
z = pi;
All of it saved in B.m
Catégories
En savoir plus sur Files and Folders 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!