Unable to write files to current directory. You may not have sufficient privileges. Change write permissions for the current directory, or navigate to a different directory.

14 views (last 30 days)
What is wrong with Matlab? A week ago it was working ok...
Error using trainCascadeObjectDetector>parseInputs (line 285)
Unable to write files to current directory. You may not have sufficient privileges. Change write permissions for the current directory, or
navigate to a different directory.
Error in trainCascadeObjectDetector (line 164)
parser = parseInputs(varargin{:});

Answers (1)

John D'Errico
John D'Errico on 30 Apr 2017
Edited: John D'Errico on 30 Apr 2017
This is not a MATLAB problem, because MATLAB is just passing on information to you about what your computer is allowing it to do.
A week ago, your computer may have been different.
READ THE ERROR MESSAGE. The directory no longer allows write access to that directory. The change may have happened because of a corruption problem on your drive. This is often minor, and can often be repaired. Check the write privilege on that directory.
It is your computer (I assume.) You can reset the write privileges on a directory, IF you have admin rights on it. I'd first check to see that your drive is not corrupted, as that will only get worse with time.

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!