Trouble reading data from .mat file
조회 수: 10 (최근 30일)
이전 댓글 표시
I'm trying to read data in .mat file but data is displaying in corrupted format. Version I'm using is 2015rb.
댓글 수: 4
Geoff Hayes
2019년 11월 29일
But what do you mean by values are not showing. Is the 1.mat file invalid?
답변 (1개)
Luna
2019년 11월 28일
Hi,
Try this:
fid = fopen('1.mat');
values = fread(fid);
fclose(fid);
It seems only file created
'MATLAB 5.0 MAT-file, Platform: PCWIN64, Created on: Thu Jan 01 02:47:51 2015'
The rest of data can not be seen.
댓글 수: 2
Luna
2019년 11월 29일
can you share the code shows how it is saved? We should know the saving method I guess.
참고 항목
카테고리
Help Center 및 File Exchange에서 Modeling and Prediction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!