Error using load Can't read file
조회 수: 249 (최근 30일)
이전 댓글 표시
Hi guys, I want to load a mat. file, sometime it works, and sometime it doesnot work,saying'Error using load Can't read file'. When i use the 'exist()', it returns 2. Sometime i need to restart my MATLAB, then the data can be loaded successfully. Please help me to figure this out. Thank you very much!
댓글 수: 2
Benjamin Friedrich
2014년 8월 31일
I had a similar problem (opening a 1GB mat-file that DID exist in the current folder). After a simple "clear all", I could load the file.
verdyanto agung
2021년 2월 18일
hello, please help me to get problem solving this my case, please....
thank you...
please share your solving in my email, verdyantoagung@gmail.com
답변 (7개)
Wenqi Ouyang
2016년 6월 5일
It's always due to running out of memory. I close other programs and restart MATLAB then it works.
댓글 수: 1
Jan
2014년 8월 20일
Is the file open already?
Did you exhaust the number of files open at the same time?
What does this reply:
fopen('all');
댓글 수: 1
shelley
2014년 9월 4일
Hi All I just learned that this problem could likely be due to "fragmentation" issue associated with Windows XP 32-bit system. Refer to this link on " Long-Term Usage (Windows Systems Only) "
댓글 수: 0
Xikang Luo
2017년 8월 22일
yeah, I agree with that; It's always due to running out of memory. I close other programs and restart MATLAB then it works.
I try clear some other matrix and it worked!
댓글 수: 0
Tra Ngo
2020년 3월 18일
I have R2019b, still encountering loading problem as below. I tried 'clear all', closing all other programs and restart MATLAB. My Java Heap Memory is maxed out (2,018 MB). OS is 64-bit, Windows 10. The specific file that I'm trying to load is a very big structure containing 3 fields.
>> load('Channel_1_tracking_result.mat','tracksFinal')
Error using load
Unable to read MAT-file
Not a binary MAT-file. Try load -ASCII to read as text.
댓글 수: 2
Tra Ngo
2020년 3월 22일
Not really. I resorted to using a 32GB Ram CPU, instead of the 8GB Ram one I was using to load the file. Somehow, when I resave the .mat file, I was able to load it using the 8GB Ram one.
Yunalisa Amalia
2022년 5월 8일
hi all, please help me how to solve this problem in matlab, when i want to open the matlab application then what happens is that the application does not want to open, then what is the solution guys?
댓글 수: 1
Nour Latrach
2022년 6월 6일
i experienced the same thing. You need Delete the installation manually then Re-Install
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!