How can I get the filename of a running script
18 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ernst Affeldt
le 25 Sep 2018
Réponse apportée : Ernst Affeldt
le 2 Oct 2018
Matlab script
0 commentaires
Réponse acceptée
Dimitris Kalogiros
le 25 Sep 2018
Modifié(e) : Dimitris Kalogiros
le 25 Sep 2018
For example, you can include into your m-file the following command:
myName= mfilename
Then variable myName, will contain a string with the name of the file.
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Whos dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!