convert multiple .txt into .mat in same folder
Mostrar comentarios más antiguos
I want to automatically convert multiple .txt files in a folder into .mat file in same folder . How can i do it programmatically?
2 comentarios
Rik
el 23 de Ag. de 2018
That depends on the contents of your txt files. What kind of variable should the file be loaded to? Once you have a script that converts the file to variables, it should be almost trivial to put that in a loop and run that for each file.
cloudy snow
el 25 de Ag. de 2018
Respuesta aceptada
Más respuestas (1)
Harshini Gangapuram
el 24 de Mzo. de 2019
0 votos
Could you just share how were you able to do that?
1 comentario
Rik
el 24 de Mzo. de 2019
This is not an answer. Please post this as a comment on either answer or the question itself and then delete this answer.
Categorías
Más información sobre File Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!