Can someone help me in resolving this uninstall error "C:\ProgramFiles\MATLAB\R2018b\help\physmod\simscape\helpsearch\segments_u(The system cannot find the file specified)"
Show older comments
I am unable to uninstall any of the addon product and simulink.
7 Comments
I have almost the same error:
C:\Program Files\MATLAB\R2018b\help\physmod\hydro\helpsearch\segments_w
(The system cannot find the file specified)

Zhiyuan Wang
on 29 Mar 2020
Moved: DGM
on 7 May 2024
Me too. And my lost file is 'segments_k' when i uninstall MATLAB.
JJ Zhu
on 7 Apr 2020
Same problem.
C:\Program Files\MATLAB\R2019b\help\simulink\helpsearch\segments_k (系统找不到指定的文件。)
JiYuan Lee
on 8 Jun 2020
I have the same problem.How do you solve it?
TAHER
on 7 May 2024
Files\Polyspace\R2021a\help\simulink\helpsearch\segments_u (Thesystem cannot find the file specified)
Answers (3)
俊彦 李
on 3 Nov 2020
1 vote
Maybe I found a possible way to solve this problem .
You can just delete the C:\ProgramFiles\MATLAB\R2018b and reinstall the matlab.
It worked on my computer.
1 Comment
Tobi Wibialma
on 6 Jun 2021
yeah this works for me too
thanks
Walter Roberson
on 14 Mar 2020
0 votes
In the past I had suggested to people that they create the missing file in order to let the uninstall proceed. However people reported that the problem just Re-occurred with a different file. What appeared to work was reinstalling the toolbox and then uninstalling it.
1 Comment
Yuya Yang
on 14 Mar 2020
But when the failure appears the toolbox can’t be reinstalled or uninstalled:(
Haotian WU
on 16 Mar 2021
0 votes
A possible solution:
Copy all files from folder C:\Program Files\MATLAB\R2020b\help\stats\helpsearch to C:\Program Files\MATLAB\R2020b\help\simulink\helpsearch.
(Edit the name of disk and folder accoring to the Matlab version)
And then reuninstall Matlab.
2 Comments
Vitaliy Kiryushin
on 29 Jul 2021
Thanks so much. Idk why it works, but it works))
Kayalvizhi
on 9 May 2023
not working again it shows same with another file segment_b
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!