how to use a function in another m file

I'm writing a code to calculate the fourier series. I need help for calling a function that I've created in another m file.

댓글 수: 1

dpb
dpb 2015년 10월 1일
In what way do you need help? One simply refers to the user-generated m-file by its name just as any other Matlab function. Only thing, of course, is that you must have saved the m-file in a location which is on the MATLABPATH search directory and with the name spelled correctly (including capitalization, Matlab is case-sensitive) for the name to be resolved and the function found.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2015년 10월 1일

댓글:

dpb
2015년 10월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by