uninstalling old version error

2 ビュー (過去 30 日間)
ali seif el din
ali seif el din 2022 年 11 月 27 日
コメント済み: James 2022 年 12 月 10 日
Why I am seeing these message when uninstalling R2021b version?
" C:\Program Files\MATLAB\R2021b\help\simulink\helpsearch\segments_1c (The system cannot find the file specified) "
The problem started when I tried to update the R2021b version but a problem occured and the update is corrupted and then i couldn't run matlab anymore so I downloaded the R2022b version it is working but i nedd to uninstall the older version.

回答 (2 件)

James
James 2022 年 12 月 10 日
編集済み: James 2022 年 12 月 10 日
Manually delete the folder “R2021b” inside of “C:\Program Files\MATLAB\”. If you want to re-install afterwards, you should be able to with the folder removed.
  6 件のコメント
Jan
Jan 2022 年 12 月 10 日
Thanks for this revealing experiment. This was not the case in the version I had to re-install. "Select an empty folder" clarifies clearly, that your suggestion is important for solving the problem.
James
James 2022 年 12 月 10 日
Not a problem. I admittedly didn’t look at the installer’s log files, but I imagine they give more insight as to what file(s) specifically prevent the usage of the folder for installation and why the installer doesn’t like what is present.

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


Jan
Jan 2022 年 11 月 27 日
編集済み: Jan 2022 年 12 月 10 日
If the installation is corrupted, the uninstallation can fail. Then install this version again overwriting the existing installation folder and uninstall it afterwards.
[EDITED] Consider Jestzer's suggestion to delete the installation folder in modern Matlab versions.
  2 件のコメント
ali seif el din
ali seif el din 2022 年 11 月 27 日
編集済み: ali seif el din 2022 年 11 月 27 日
how can I overwrite the existing installation?
Jan
Jan 2022 年 11 月 27 日
Simply run the installer again. Did you use the default folder to install in, then do this again. But if you have chosen a specific folder to install in, choose this folder again. Afterwards the installtion is complete and the uninstalling will run successfully.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by