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 Kommentar

dpb
dpb am 1 Okt. 2015
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 1 Okt. 2015

Kommentiert:

dpb
am 1 Okt. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by