convert multiple .txt into .mat in same folder
Afficher commentaires plus anciens
I want to automatically convert multiple .txt files in a folder into .mat file in same folder . How can i do it programmatically?
2 commentaires
Rik
le 23 Août 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
le 25 Août 2018
Réponse acceptée
Plus de réponses (1)
Harshini Gangapuram
le 24 Mar 2019
0 votes
Could you just share how were you able to do that?
1 commentaire
Rik
le 24 Mar 2019
This is not an answer. Please post this as a comment on either answer or the question itself and then delete this answer.
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!