Skip to content

Instantly share code, notes, and snippets.

@amoodie
Created September 4, 2018 18:19
Show Gist options
  • Save amoodie/9d6f1545e83e58397e28e3e62140f7a5 to your computer and use it in GitHub Desktop.
Save amoodie/9d6f1545e83e58397e28e3e62140f7a5 to your computer and use it in GitHub Desktop.
the path file pathdef.m might be read-only

the path file pathdef.m might be read-only

In Matlab, enter:

>> which pathdef
/usr/local/MATLAB/R2018a/toolbox/local/pathdef.m

Enter a Linux terminal and change file permissions to read and write for anyone.

sudo chmod 666 /usr/local/MATLAB/R2018a/toolbox/local/pathdef.m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment