Hello Yang,
I understand that you are unable to read from a file due to permission related issues.
The following actions could potentially resolve the error:
- Run MATLAB as an Administrator. Right-click on the MATLAB shortcut or executable and select "Run as administrator."
- Ensure that your current directory and the folder where the file is stored have the appropriate read and write permissions. You can “cd” to a folder where you have proper permissions and try again.
- Temporarily disable any antivirus or security software that might be blocking MATLAB from performing the operation.
You can refer to the following links for more information: