I am not able to save my file on the trial version

4 views (last 30 days)
when I try to save the file it says "unable to save file UNTITLED2. /UNTITLED2.m (Read-only file system)"
Note: UNTITLED2 is name of file

Answers (1)

Image Analyst
Image Analyst on 14 Mar 2024
  1. "UNTITLED2. " is an unusal name for a folder. Not that a dot and a space are not allowed, but maybe just save it to a regular folder name, like "work" or something similar.
  2. And use the FULL path name, like use a drive letter if you're on Windows.
  3. And make sure the drive can be written to, like it's not readonly (like a CD) and you have permission to save to that folder.
  4. Use fullfile to build a better filename.
  1 Comment
Walter Roberson
Walter Roberson on 14 Mar 2024
Note that you will usually not be able to save files to the directory that MATLAB is installed in, so make sure that you have changed directory to one you have write access to.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!