How to call .m file?
174 views (last 30 days)
Show older comments
I have a main.m script, I want to perform some operation again and again, so I created another .m file named op.m, I need to call op.m inside main.m whenever required....how to call it inside main.m......PS: also in op.m file, should I write return at the end or it returns automatically to the main script after doing the operation?
0 Comments
Accepted Answer
Azzi Abdelmalek
on 22 Jul 2015
Edited: Azzi Abdelmalek
on 22 Jul 2015
just type the name of your script
your_cript
More Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!