How do i remove a path with sub folder similar to how we add folder with all sub folder? Matlab takes very long to initialize.

164 次查看(过去 30 天)
I am trying to run matlab and I recently added a lot of paths for my work. As of now Matlab takes too long to initialize. I am trying to remove all the paths and we have add path with subfolder but not an option to remove path with subfolders. Is there any way I can remove it? I have tried rmdir, rmpath (C:\..) but nothing seems to remove subfolder paths. Thank you for your time.
Regards Raj

采纳的回答

Image Analyst
Image Analyst 2018-6-7
Try genpath
rmpath(genpath(topLevelFolder));

更多回答(2 个)

Jan
Jan 2023-2-9
Go to Home --> Set Path --> Remove folders in the window or press default as suggested by Kishan.

Kishan Chowhan
Kishan Chowhan 2020-3-21
Just press "default"

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by