How to convert mnist dataset .txt file to .mat file?

조회 수: 5 (최근 30일)
Aybuke YILDIZ
Aybuke YILDIZ 2022년 7월 26일
댓글: Aybuke YILDIZ 2022년 7월 29일
Hello, I have to convert the text file ,that I am adding, to .mat file immediately.
I searched a lot about but ı couldnt do it correclty. Anyone could help me please immediately?
Thanks in advance.
  댓글 수: 1
dpb
dpb 2022년 7월 26일
So, what did you try and where did you have a problem?

댓글을 달려면 로그인하십시오.

채택된 답변

David Hill
David Hill 2022년 7월 26일
Why not just:
r=readtable('mnistdata.txt');
r.Properties.VariableNames={'Name','Size','Bytes','Class'};
save r;

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Text Files에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by