Why am I unable to load any (user created or shipped with MATLAB) MAT-file in MATLAB 7.10 (R2010a)?

조회 수: 26 (최근 30일)
I am unable to read any MAT-file, it does not matter whether I just created the file myself or whether I try to open a MAT-file which was shipped with MATLAB; for example:
load clown
??? Error using ==> load
/usr/local/MATLAB/R2010a/toolbox/matlab/demos/clown.mat
File may be corrupt.
This also leads to the following error when trying to create a figure:
??? Error using ==> load
/usr/local/MATLAB/R2010a/toolbox/matlab/uitools/dialogicons.mat
File may be corrupt.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2010년 7월 28일
This issue can be caused by having an older MATLAB or MATLAB Compiler Runtime on your LD_LIBRARY_PATH. Please try starting MATLAB after clearing (or at least removing the older MATLAB versions from) the LD_LIBRARY_PATH.
If this resolves the issue, you could modify the MATLAB start script ($MATLABROOT\bin\matlab) to correctly (un-)set the LD_LIBRARY_PATH before starting MATLAB.
  댓글 수: 2
Kurt Stewart
Kurt Stewart 2019년 10월 21일
I deleted the other version of matlab and it didnt work yet....
Kurt Stewart
Kurt Stewart 2019년 10월 21일
I deleted the other matlab instance and and copied my old simulink file that wasnt broken from a previous commit - thanks git!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2010a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by