安装waijung第​三方工具箱每次打开m​atlab出现路径警​告

조회 수: 13 (최근 30일)
xingran li
xingran li 2021년 5월 27일
답변: Fangjun Jiang 2021년 5월 27일
一般出现在安装第三方toolbox后,这个路径似乎是可变产生的并会自动删除的,不知道出了啥问题
如何解决
  댓글 수: 1
Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 5월 27일
Is that possible to post your questions in English?

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

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 5월 27일
I had the same problem and this probem started in R2020a.
Every time you started MATLAB R2020a, such a temporary folder is automatically created and added to the MATLAB path but it was not saved. When MATLAB exists, the temp folder is automatically removed. The name of the folder changes every time. You can check it.
So if you install a third-party toolbox and during that process, savepath() was executed, then this temp folder is saved thus caused the warning the next time MATLAB is started.
The robust solution is to remove that temp folder before savepath() is executed in the installation script.
If the installation script can't be changed, the manual process is to remove those temp folders and save the MATLAB path once for all.
The problem has been reported to the Mathworks. Didn't follow up on bug report since it is not that serve.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by