calling a file which is in folder in current folder

hello ppl... I want a code to call the m file which is in the other folder ... please suggest me the code. regards Madhu

 채택된 답변

Walter Roberson
Walter Roberson 2015년 5월 22일

0 개 추천

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()

추가 답변 (0개)

카테고리

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

태그

질문:

2015년 5월 22일

답변:

2015년 5월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by