link between m files

Good evening\morning
How can I do a link between multi m.files
I have a main code that will call the other m files depending on If condition

답변 (2개)

Walter Roberson
Walter Roberson 2011년 12월 16일

1 개 추천

If you are trying to call upon a script rather than a function, use run()

댓글 수: 2

Sean de Wolski
Sean de Wolski 2011년 12월 16일
or just type the mfile name.
Walter Roberson
Walter Roberson 2011년 12월 16일
run() is useful if you want to specify a path to the second file; it is also especially useful if the second file has the same name as the original.

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

Sean de Wolski
Sean de Wolski 2011년 12월 16일

0 개 추천

doc function
Would be a good place to start, along with the getting started documentatiob.

댓글 수: 1

Walter Roberson
Walter Roberson 2011년 12월 16일
http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab

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

카테고리

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

태그

질문:

2011년 12월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by