Missing file prevents uninstall
古いコメントを表示
I want to unistall MATLAB R2018b but I recieve the following error:
C:\Program Files\MATLAB\R2018b\help\5g\helpsearch\segments_q (The system cannot find the file specified).
I've tried to also uninstall with the uninstall executable - it did not work.
9 件のコメント
Miguel Bublitz San Roman
2021 年 4 月 9 日
Could you resolve the problem?
I heve the same problem
yonatan s
2021 年 4 月 10 日
Walter Roberson
2021 年 4 月 10 日
Create the file yourself and try again.
Israel Fuentes
2021 年 4 月 15 日
That doesn't work
Walter Roberson
2021 年 4 月 15 日
Creating the file yourself does work... but sometimes you end up needing to create quite a number of files :(
昊 王
2021 年 4 月 15 日

I have the exactly same question as you.
Walter Roberson
2021 年 4 月 15 日
The official Mathworks recommendation is to reinstall the software so that it writes the files so that you can uninstall.
Tatsuaki Hashimoto
2021 年 8 月 16 日
I have the same situation. But I could not reinstall. I could not both reinstall and unistall.
Walter Roberson
2021 年 8 月 17 日
I recently had a windows situation where I ran into this error with missing files for uninstall.
I dealt with it by telling Windows to delete the entire directory (and all subdirectories.) Took over 1/2 an hour as there were over 1 1/4 million files to delete.
In my situation the errors in registry just deleting the files would leave, was acceptable for me, because I was going to reinstall MATLAB immediately.
回答 (3 件)
Maadhav Akula
2019 年 12 月 31 日
1 投票
I hope the following link might be helpful:
If you still face any issues with uninstallation, please reach out to Mathworks Support:
Charles Lee
2021 年 11 月 7 日
0 投票
My own experience:
Delete all the files in your matlab install folder, i.e.: E:\Program Files\Polyspace\R2020a
Just install again. Problem solved.
Lemon
2023 年 6 月 10 日
0 投票
When I faced this issue, I just added some dummy 'segments_q' files in the required directory and then again started the uninstallation process. But sometimes you end up needing to create quite a number of files as said in one of the comments. This may not be the proper way, but guess what, it helped! Just letting know to someone who is still struggling with this issue, hope this helps;)
1 件のコメント
Frank F
2023 年 7 月 31 日
It's a good idea to quickly sovle the problem,and i copy the same name files from the likely path a lot of times and uninstall R2022a successfully.Thanks
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!