When you modify a file in the Editor or the Live Editor, MATLAB® indicates that there are unsaved changes in the file by displaying an asterisk (*) next to the file name in the document tab. To save the file, go to the Editor or Live Editor tab, and in the File section, click Save.
- How do I save a MATLAB file to my computer?
- Where do MATLAB files save to?
- Why can't i save my MATLAB file?
How do I save a MATLAB file to my computer?
To download a file from MATLAB Online to your local system, in the Current Folder browser, select the file. Then, on the Home tab, click the Download button.
Where do MATLAB files save to?
userpath Folder on the Search Path
This folder is a convenient place for storing files that you use with MATLAB. The default userpath folder is platform-specific. Windows® platforms — %USERPROFILE%/Documents/MATLAB . Mac platforms — $home/Documents/MATLAB .
Why can't i save my MATLAB file?
Navigate to some folder where you have write permissions, desktop or some documents folder and try to save your file, it should work fine. If you have to - have to save it in the program files folder, then launch MATLAB as an administrator, if you have the permissions, by right click MATLAB icon and launch as admin.