Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Matlab newbie-simple question

조회 수: 1 (최근 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