How to know which m-file run?

I ran some code(suppose I do not know the content),which makes to run one or some .m-file(s),how can I know which m-file has been run?

 Respuesta aceptada

Shameer Parmar
Shameer Parmar el 17 de Jun. de 2016

0 votos

1. Check from command History of matlab.
OR
2. In all that files, open and put command "disp('filename')". so that it will display in the filename in command window.

1 comentario

Leotsing
Leotsing el 17 de Jun. de 2016
Thank you very much,your way-2 works for me!

Iniciar sesión para comentar.

Más respuestas (1)

KSSV
KSSV el 17 de Jun. de 2016

0 votos

There would be a command history dialogue in matlab...you can know from here what happened so far....

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Jun. de 2016

Comentada:

el 17 de Jun. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by