Search

Unable to save path to file : matlab

When executing the command, savepath in matlab in linux if you encounter the error.



It is because the pathdef.m file does not have the permissions required. To verify this execute the command ls -l /usr/local/MATLAB/R2017a/toolbox/local/pathdef.m

We should see an output which displays the following permissions, only read permissions.



To workaround the error, execute the command



The error should not appear anymore when you run the command savepath.

2 comments: