How to call .m file?

73 次查看(过去 30 天)
peyush
peyush 2015-7-22
评论: peyush 2015-7-23
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?

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2015-7-22
编辑:Azzi Abdelmalek 2015-7-22
just type the name of your script
your_cript

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by