How can I get the filename of a running script
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ernst Affeldt
el 25 de Sept. de 2018
Respondida: Ernst Affeldt
el 2 de Oct. de 2018
Matlab script
0 comentarios
Respuesta aceptada
Dimitris Kalogiros
el 25 de Sept. de 2018
Editada: Dimitris Kalogiros
el 25 de Sept. de 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 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Whos en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!