Matlab has recently become incredibly slow and virtually unusable recently. Particulary, functions such as
filexists = exist(checkfile, 'file');
are taking hundreds of times longer than it should, even though all of the files imported and checked are less than 100 kb.
I suspect that this is because I am working in a folder which has about 50000 files. In addition, even if I am not using such functions many other aspects of matlab are still pretty much unusable. For example, it takes minutes for basic variable names to show up in the workspace. Importing a 50 kb file into the workspace takes about 3 minutes. No, nothing else is bogging down the system.
Has anyone else noticed this bug? Can it be fixed or is there a workaround?