The desktop configuration file is corrupt ....

조회 수: 35 (최근 30일)
alpedhuez
alpedhuez 2022년 5월 10일
답변: Nihal 2024년 1월 4일
I have an error message
"Warning: The desktop configuration file is corrupt or improperly formatted. Problem parsing Desktop restore xml: Expected '<' but got '"
Please advise the next step.
  댓글 수: 2
Nicholas Harn
Nicholas Harn 2022년 6월 2일
I am receiving the same error message. According to an older post on this forum, it may be caused by "using a version of Java that's different from the one shipped with MATLAB". Here's a link to the post:
I followed the steps outlined in this post, and the error message no longer appears. Hope it helps.
Jan
Jan 2022년 6월 2일
@alpedhuez: Please post fotos directly in the forum, not on external services. Thanks.

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

답변 (1개)

Nihal
Nihal 2024년 1월 4일
I understand that you are seeing the warning message after launching the MATALB. If you are launching MATLAB and receiving the following error you might be using a different version of Java than the one shipped with MATLAB.
ERROR: Warning: An error occurred while reading the desktop configuration file
In order to check the version of Java that MATLAB is using, launch MATLAB and run the following command.
version -java
Check for a MATLAB_JAVA environment variable set on your system. If a MATLAB_JAVA environment variable is set, remove it and relaunch MATLAB twice to see if the issue persists.
If this does not help, it was also possible to resolve this via the following commands:
restoredefaultpath
rehash toolboxcache
savepath
I hope this helps

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by