Clear Filters
Clear Filters

Permission denied to open report file, while using PSAT.

2 views (last 30 days)
Hi,
I am trying to simulate Load Flow, using PSAT tool box, It converges well but when I tryes to save system it gives permission denied. !
following is the matlab error.
Writing the report file...
Opening the report file...
Permission denied
*********************
Error using cd
Cannot CD to a:\ (Name is nonexistent or not a directory).
Error in fm_dirset (line 128)
cd(namedir)
Error in fm_dirset (line 376)
fm_dirset('changedir');
Error using uiwait (line 81)
Error while evaluating UIControl Callback.
Error using cd
Cannot CD to a:\ (Name is nonexistent or not a directory).
Error in fm_dirset (line 128)
cd(namedir)
Error in fm_dirset (line 376)
fm_dirset('changedir');
Error using uiwait (line 81)
Error while evaluating UIControl Callback.
**********************

Answers (1)

Githin George
Githin George on 12 Oct 2023
Hi Pratik,
I understand you are facing an issue when using the ‘cd’ function.
I observe the error is being originated from the UIControl Callback. This error ‘Name is nonexistent or not a directory is likely caused because the absolute path was not used for the filename. Please take a look at the following answer which has a resolution for the same issue.
I hope this helps.

Categories

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

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!