Clear Filters
Clear Filters

How to call m-files

12 views (last 30 days)
Cillian
Cillian on 7 Jun 2012
Hello.
I want to call m-files to a another m-file.
More specific, I have two m.files that I want to call from another m-file.
Regards Cillan

Accepted Answer

Thomas
Thomas on 7 Jun 2012
Suppose you have two scripts
script1.m and script2.m
you can call the second script from the first by just using
script2
in the code of the first file.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!