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

4 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2024-3-14
  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 个评论
Walter Roberson
Walter Roberson 2024-3-14
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by