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 comentario

dpb
dpb el 1 de Oct. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Oct. de 2015

Comentada:

dpb
el 1 de Oct. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by