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

5 visualizzazioni (ultimi 30 giorni)
farzad
farzad il 11 Apr 2015
Commentato: suman jain il 3 Feb 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

Risposta accettata

KL
KL il 11 Apr 2015
Modificato: KL il 11 Apr 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 Commenti
shihabsat
shihabsat il 11 Mag 2018
Thank you very much

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su File Operations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by