Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Matlab newbie-simple question

2 ビュー (過去 30 日間)
Shalini
Shalini 2012 年 11 月 6 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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?

回答 (2 件)

Harshit
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

Vishal Rane
Vishal Rane 2012 年 11 月 8 日

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by