MATLAB: Here i attached the error while creating .mat file…pls give suggestion

error in creating .mat fileMATLAB

here i attached the error while creating .mat file…pls give suggestion

Best Answer

You are trying to save the file to a MATLAB installation folder. This is a Bad Idea, but possible if you run MATLAB with Administrative access.
Instead, save your MAT-Files somewhere under your user Documents folder.