MATLAB: Getting Error while saving the File_name.m can anyone help why i am getting this

error saving fileMATLABr2015a

while saving file after making changes in the code i am getting the following error shown in the image. Please guide me whats wrong with the simulator?

Best Answer

You need admin privileges to modify or save files inside Matlab's program directory. It is strongly recommended not to touch any files in this installation directory. Use your own folder instead to store your M-files, e.g. in the user's documents folder.