Filter löschen
Filter löschen

How to call .m file?

73 Ansichten (letzte 30 Tage)
peyush
peyush am 22 Jul. 2015
Kommentiert: peyush am 23 Jul. 2015
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?

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 22 Jul. 2015
Bearbeitet: Azzi Abdelmalek am 22 Jul. 2015
just type the name of your script
your_cript

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by