Borrar filtros
Borrar filtros

无法保存.m文件

27 visualizaciones (últimos 30 días)
鹏 杜
鹏 杜 el 1 de Abr. de 2023
Comentada: 鹏 杜 el 15 de Abr. de 2024
任何新建的.m文件,我都只能将它保存为Untitled.m这个文件名;一旦我试图将它保存为其他的文件名,MATLAB就会卡死几秒钟,然后闪退。重新打开MATLAB之后就提示以下错误:
Warning: The desktop configuration file is corrupt or improperly formatted.

Respuestas (2)

Keshav
Keshav el 12 de Abr. de 2023
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 comentario
鹏 杜
鹏 杜 el 18 de Abr. de 2023
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.

Iniciar sesión para comentar.


shaochong zhu
shaochong zhu el 25 de Mzo. de 2024
请问解决了吗?我也遇到同样的问题,而且电脑是装了2020b和2023a都有这样的问题
  1 comentario
鹏 杜
鹏 杜 el 15 de Abr. de 2024
没有解决这个问题,只能保存为untitled.m,然后在文件列表右键修改文件名。我印象中好像是MATLAB启动配置的问题,也就是MATLAB打开时的默认文件夹,但是现在找不到相关连接了。

Iniciar sesión para comentar.

Categorías

Más información sobre 基本设置 en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!