Borrar filtros
Borrar filtros

how to run an m.file by another m.file ?

127 visualizaciones (últimos 30 días)
farzad
farzad el 11 de Abr. de 2015
Comentada: suman jain el 3 de Feb. de 2019
Hi all
is creating the function the only way to run an m file by another m file ? cause I did not want to get an output or give it an input , cause the main m file is already writing the outputs to a text file

Respuesta aceptada

KL
KL el 11 de Abr. de 2015
Editada: KL el 11 de Abr. de 2015
You just need to write the file name on the specific line of your program and make sure the other file exist in the same directory if not go with the absolute path.
  4 comentarios
shihabsat
shihabsat el 11 de Mayo de 2018
Thank you very much
suman jain
suman jain el 3 de Feb. de 2019
thanks

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by