任何新建的.m文件,我都只能将它保存为Untitled.m这个文件名;一旦我试图将它保存为其他的文件名,MATLAB就会卡死几秒钟,然后闪退。重新打开MATLAB之后就提示以下错误:
Warning: The desktop configuration file is corrupt or improperly formatted.

답변 (3개)

Keshav
Keshav 2023년 4월 12일

0 개 추천

Hi Peng Du,
I understand that you are getting the warning “The desktop configuration file is corrupt or improperly formatted” while reopening MATLAB. I found a MATLAB answer which is similar to your query. Please try to follow the steps mentioned in the below MATLAB answer link:

댓글 수: 1

鹏 杜
鹏 杜 2023년 4월 18일
I have tried the steps in the link above before I asked the question, but it really didn't solve the problem. Also, I recently meet a new problem that not only .m files can't be saved, but also .fig files can't be saved manually either unless I directly use the function ''saveas'' or '' print'' . I have uninstalled and reinstalled the software, but the problem still occurs.

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

shaochong zhu
shaochong zhu 2024년 3월 25일

0 개 추천

请问解决了吗?我也遇到同样的问题,而且电脑是装了2020b和2023a都有这样的问题

댓글 수: 1

鹏 杜
鹏 杜 2024년 4월 15일
没有解决这个问题,只能保存为untitled.m,然后在文件列表右键修改文件名。我印象中好像是MATLAB启动配置的问题,也就是MATLAB打开时的默认文件夹,但是现在找不到相关连接了。

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

Wang Xu
Wang Xu 2024년 8월 29일

0 개 추천

你好!
我的系统是win11,今天我也遇到了一样的问题,但是当我将“预设-常规-mat文件保存格式 ”更改为7.3以后,不能保存m文件的问题就解决了。而不能保存fig的问题我之前也偶尔遇到过,我估计是使用了 不兼容的软件,我在把onedrive和截图的网盘软件关闭后就解决了这个问题。
也许对你有帮助!

카테고리

도움말 센터File Exchange에서 启动和关闭에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

2023년 4월 1일

답변:

2024년 8월 29일

Community Treasure Hunt

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

Start Hunting!