Delete the folder existing in the matlab path
Show older comments
How can i delete the folder and its subfolder and its files in the matlab path ??
Answers (2)
rmdir(folderName,'s')
2 Comments
Gopalakrishnan venkatesan
on 22 Sep 2015
Edited: Gopalakrishnan venkatesan
on 22 Sep 2015
Stephen23
on 22 Sep 2015
Call dir D:\Bala and tell us exactly what is displayed.
Guillaume
on 22 Sep 2015
To remove a folder from matlab's search path, use rmpath. This does not delete the folder from disk if it exists. If you've also added subfolders to the path, you need to remove each one of these individually. Alternatively, use
pathtool
to add and remove folders through a UI.
Categories
Find more on File Operations 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!