Finding the .m file from a data file
Mostrar comentarios más antiguos
Is it possible to know which .m file created a data file from looking at the data file?
Cheers
Respuesta aceptada
Más respuestas (2)
Azzi Abdelmalek
el 13 de En. de 2013
0 votos
Use the same name for your data and m file
3 comentarios
eduardoq
el 13 de En. de 2013
Azzi Abdelmalek
el 13 de En. de 2013
Editada: Azzi Abdelmalek
el 13 de En. de 2013
It's difficult to guess, if we don't know what those files are generating? but I think you can guess from the size of your data for example, or others clues.
Azzi Abdelmalek
el 13 de En. de 2013
Editada: Azzi Abdelmalek
el 13 de En. de 2013
How many data files and m files do you have? We can for example run all your m files, and compare their results to the imported data files
Image Analyst
el 13 de En. de 2013
0 votos
Only if there is some clue, such as the filename is hard coded into an m-file. In that case, you can use "Find Files..." on the ribbon or pulldown menu to locate files that have that filename coded into them. Or look for some text (e.g. header lines) in the file that may have been mentioned in the file (again, use "Find files").
Categorías
Más información sobre File Operations en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!