Effacer les filtres
Effacer les filtres

link between m files

1 vue (au cours des 30 derniers jours)
Ayda
Ayda le 16 Déc 2011
Good evening\morning
How can I do a link between multi m.files
I have a main code that will call the other m files depending on If condition

Réponses (2)

Walter Roberson
Walter Roberson le 16 Déc 2011
If you are trying to call upon a script rather than a function, use run()
  2 commentaires
Sean de Wolski
Sean de Wolski le 16 Déc 2011
or just type the mfile name.
Walter Roberson
Walter Roberson le 16 Déc 2011
run() is useful if you want to specify a path to the second file; it is also especially useful if the second file has the same name as the original.

Connectez-vous pour commenter.


Sean de Wolski
Sean de Wolski le 16 Déc 2011
doc function
Would be a good place to start, along with the getting started documentatiob.
  1 commentaire
Walter Roberson
Walter Roberson le 16 Déc 2011
http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab

Connectez-vous pour commenter.

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by