When using MATLAB on Linux, if you receive a message indicating that you do not have permission to save a MATLAB script, it typically means that you are trying to save the script in a directory where you lack the necessary write permissions. To resolve this issue, consider trying the following steps:
- Check “Write” Permissions: Leverage this MATLAB Answers post to check the permissions of the directory: https://www.mathworks.com/matlabcentral/answers/2062797-can-t-save-new-file-even-though-i-definitely-have-write-permissions#answer_1375187
- Change the Directory: Save the script to a directory where you have write permissions, such as your home directory.
With this troubleshooting, I hope you will be able to save your MATLAB scripts successfully.