Problem in loading ".mat" file
3 ビュー (過去 30 日間)
古いコメントを表示
Hi, I'm encountered with this problem when trying to load a .mat file:
*??? Error using ==> load Unable to read MAT-file C:\sub1 Prmtrs.mat: not a binary MAT-file. Try LOAD -ASCII to read as text.*
It's very strange that this program did work in the computer I'm now using yesterday. I can also load data using the same .mat files and the same program in another computer earlier today.
I'm very confused. Could anybody help figure out why? Any help will be appreciated. Thanks.
Qing Liu
0 件のコメント
採用された回答
Joshua
2011 年 10 月 28 日
I have been getting the same error. I typically get it after opening and closing several large mat files. If I exit Matlab and restart, I can continue to open/close more mat files but eventually I get the error again. Mathworks really needs to do something about this.
0 件のコメント
その他の回答 (2 件)
Sahasra Ranjan
2020 年 5 月 12 日
Change the file extension from .mat to .ascii
This worked for me.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT-Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!