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 个评论
回答(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!