convert multiple .txt into .mat in same folder
显示 更早的评论
I want to automatically convert multiple .txt files in a folder into .mat file in same folder . How can i do it programmatically?
2 个评论
Rik
2018-8-23
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
2018-8-25
采纳的回答
更多回答(1 个)
Harshini Gangapuram
2019-3-24
0 个投票
Could you just share how were you able to do that?
1 个评论
Rik
2019-3-24
This is not an answer. Please post this as a comment on either answer or the question itself and then delete this answer.
类别
在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!