Why am I unable to load any (user created or shipped with MATLAB) MAT-file in MATLAB 7.10 (R2010a)?
36 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2010 年 7 月 28 日
コメント済み: Kurt Stewart
2019 年 10 月 21 日
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
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
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 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!