how to resolve the error of unable to write file?

93 views (last 30 days)

Answers (1)

Walter Roberson
Walter Roberson on 29 Aug 2021
If you are trying to save underneath the MATLAB installation directory then you have two options:
  1. Save somewhere else; or
  2. Downgrade your operating system to Windows 7. Windows 8 and later do not permit uses to write into the program directories.
If you are trying to save into one of your own directories, then you need to use File Explorer to change the Security Properties of the directory to permit you to write there.

Categories

Find more on Search Path 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!