Info
此问题已关闭。 请重新打开它进行编辑或回答。
Matlab newbie-simple question
1 次查看(过去 30 天)
显示 更早的评论
I have got reasonable good exposure to programming but relatively new to Matlab.
Simple question:
1)In matlab the file name (.m file) has to be same as the function name.Does that mean I can have only 1 function per file?
0 个评论
回答(2 个)
Harshit
2012-11-6
Hi Shalini, You can have multiple functions in a file. These are called local functions. Why don't you look at this http://www.mathworks.in/help/matlab/matlab_prog/local-functions.html?s_tid=doc_12b
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!