MATLAB: How to call .m file

callbackloopMATLABmultiplescript

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?

Best Answer

just type the name of your script
your_cript
Related Question