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 个评论

or just type the mfile name.
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.

请先登录,再进行评论。

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

1 个评论

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