MATLAB: Clear directories from “Find Files” tool

find filesMATLAB

Hello, I am using MATLAB R2015b. I often have to use the tool "Find Files". This tool keeps a list with directories you have searched before. However, I needed to change my folder structure some time ago and now my old folders still show up in the "Find Files". I's like to remove them in order to find my default folder quicker. Is this possible somehow?

Best Answer

This information is stored in your matlab.prf file [available in (C:\Users\abc\AppData\Roaming\MathWorks\MATLAB\R2015b)
Open the above file in notepad and look for FindFilesLookinList2 - This setting stores the information of last looked into directories. You can remove the directories you no longer have.
WARNING: Always keep a backup of such settings file before you manually change.