Effacer les filtres
Effacer les filtres

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

127 vues (au cours des 30 derniers jours)
farzad
farzad le 11 Avr 2015
Commenté : suman jain le 3 Fév 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

Réponse acceptée

KL
KL le 11 Avr 2015
Modifié(e) : KL le 11 Avr 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 commentaires
shihabsat
shihabsat le 11 Mai 2018
Thank you very much
suman jain
suman jain le 3 Fév 2019
thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by