Why am I getting the "Permission Denied" message when I try to open my diary?

6 views (last 30 days)
Rauhan Rasheed Siddiqui
Rauhan Rasheed Siddiqui on 30 Dec 2021
Edited: Adam Danz on 3 Jan 2022
  6 Comments

Sign in to comment.

Answers (1)

Adam Danz
Adam Danz on 30 Dec 2021
Edited: Adam Danz on 3 Jan 2022
Based on your screenshots, your current directory was somehow changed to the C\Windows\Sys32 folder which is likely denied writing access.
Try changing your current directory to a folder where you have write permission and try again. You could try
cd(userpath())
Background info:

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!