Number of functions in a function-M file
显示 更早的评论
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?
采纳的回答
更多回答(2 个)
Sean de Wolski
2012-3-5
function z = A;
z = B;
function z = B;
z = pi;
All of it saved in B.m
类别
在 帮助中心 和 File Exchange 中查找有关 Files and Folders 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!