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!