calling a file which is in folder in current folder

4 visualizaciones (últimos 30 días)
madhu T S
madhu T S el 22 de Mayo de 2015
Respondida: Walter Roberson el 22 de Mayo de 2015
hello ppl... I want a code to call the m file which is in the other folder ... please suggest me the code. regards Madhu

Respuesta aceptada

Walter Roberson
Walter Roberson el 22 de Mayo de 2015
Add the folder to your MATLAB path. Or cd to the other directory and invoke the routine.
If the code to be invoked is a script instead of a function, see run()

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by