Azzera filtri
Azzera filtri

How to call .m file?

73 visualizzazioni (ultimi 30 giorni)
peyush
peyush il 22 Lug 2015
Commentato: peyush il 23 Lug 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?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 22 Lug 2015
Modificato: Azzi Abdelmalek il 22 Lug 2015
just type the name of your script
your_cript

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by