Directory access failure for some folders Mac Sequoia

4 views (last 30 days)
Dear all
I have the issue that some directory access faiure, after Matlab did ask me for the permission to access the Desktop. And I can not run code from these foldes, even if I press the bottom "change Folder". Other codes are working normal. Matlab did work untill some days ago. The issue occured after a .m file did start an old version of matlab (2017b) . About a week ago I did update my mac form 13 (venture), to 15.3 (sequoia). I do not know if this is related. I did restart Matlab and my mac, If you need more inforamation about my system let me know. On the buttom the "error" massage is shown:
Thank you for your help
Best
Jakob
Warning: Directory access failure: /Users/.../Desktop/PhD/matlabscripts
Warning: Directory access failure: /Users/.../Desktop/PhD/Matlab_functions
Warning: Directory access failure: /Users/.../Desktop/PhD
Warning: Directory access failure: /Users/.../Desktop/PhD/extern_matlab
Warning: Directory access failure: /Users/.../Desktop/PhD/extern_matlab/molecule3D

Accepted Answer

Walter Roberson
Walter Roberson on 10 Mar 2025
System Settings -> Privacy & Security -> Files & Folders -> MATLAB_R2022b, and enable Desktop Folder
Note: if some other version of MATLAB appears rather than R2022b, then quit MATLAB and re-enter MATLAB, to get the automatic prompts about allowing desktop access.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!