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

Could you resolve the problem?
I heve the same problem
yonatan s
yonatan s 2021년 4월 10일
Sorry but its been a while, I don't remember.
Walter Roberson
Walter Roberson 2021년 4월 10일
Create the file yourself and try again.
Israel Fuentes
Israel Fuentes 2021년 4월 15일
That doesn't work
Walter Roberson
Walter Roberson 2021년 4월 15일
Creating the file yourself does work... but sometimes you end up needing to create quite a number of files :(
I have the exactly same question as you.
Walter Roberson
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
Tatsuaki Hashimoto 2021년 8월 16일
I have the same situation. But I could not reinstall. I could not both reinstall and unistall.
Walter Roberson
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
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
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
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
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에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2019년 12월 23일

댓글:

2023년 7월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by