Borrar filtros
Borrar filtros

How to call .m file?

73 visualizaciones (últimos 30 días)
peyush
peyush el 22 de Jul. de 2015
Comentada: peyush el 23 de Jul. de 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?

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Jul. de 2015
Editada: Azzi Abdelmalek el 22 de Jul. de 2015
just type the name of your script
your_cript

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by