Matlab .pref file error (R2007b)

Hello,
This was working fine last night. Did'nt do anything different but now when I try to open up a gui I get this error..
Unable to read MAT-file /.../.matlab/R2007b/matlabprefs.mat: not a binary MAT-file. Try LOAD -ASCII to read as text.
I looked at the file - it is empty. I deleted it and restarted but nothing..I found this advice for Windows (<http://www.gomatlab.de/email-mit-gmx-senden-t13872.html>) but I have a Mac..
Thanks, S

1 件のコメント

Trudy
Trudy 2013 年 7 月 9 日
編集済み: Trudy 2013 年 7 月 9 日
Did you find a solution for this problem? I'm running into the same thing.
Thanks, Trudy
Update: After renaming the file matlab will create a new matlabprefs.mat file that does work.

サインインしてコメントする。

回答 (1 件)

oeldad
oeldad 2015 年 6 月 25 日

0 投票

For the sake of somebody else searching for this topic. I just had a similar problem out of nowhere.
I went into the directory, the file existed, but it was there without the proper extension. I added the *.mat extension to it and that fixed the problem for me. If the file is missing completely maybe you need to find a copy to put in that directory.

カテゴリ

ヘルプ センター および File ExchangeWorkspace Variables and MAT Files についてさらに検索

質問済み:

2012 年 10 月 19 日

コメント済み:

2016 年 5 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by