Problem in loading ".mat" file
Show older comments
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
Accepted Answer
More Answers (2)
Q L
on 31 Oct 2011
0 votes
Sahasra Ranjan
on 12 May 2020
0 votes
Change the file extension from .mat to .ascii
This worked for me.
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!