Matlab can't see Dropbox folder contents on macOS Ventura 13.5

13 views (last 30 days)
When I navigate to ~/Dropbox, Matlab goes to the path /Users/me/Library/CloudStorage/Dropbox. I can't seem to go directly to Dropbox, only this strange path. Matlab doesn't show any of the file contents there even though I have all my files local on disk here. I granted full disk access to matlab. But still I don't see any of the file contents that are accessible in every other program (e.g., MS Word, Excel, browsers, etc.).
How do I fix this?
  3 Comments
Xavier Blasco
Xavier Blasco on 16 Oct 2023
I solve my problem providing MATLAB with Full Disk Access:
Open System Settings, click Privacy & Security, then click Full Disk Access and select matlab.
(I use matlab R2022b and macbook pro intel with Ventura 13.5.2)
Weilun Ding
Weilun Ding on 24 Jun 2024
@Xavier Blasco Thanks for this solution! I had this issue with a mounted macFuse folder, and now it works.

Sign in to comment.

Answers (1)

dim-ask
dim-ask on 29 Aug 2023
Edited: dim-ask on 29 Aug 2023
> When I navigate to ~/Dropbox, Matlab goes to the path /Users/me/Library/CloudStorage/Dropbox.I can't seem to go directly to Dropbox, only this strange path.
This is not a matlab thing. It is a dropbox/macos thing. It was a recent change (~6 months ago), see https://help.dropbox.com/installs/macos-support-for-expected-changes
In short, it was an update from dropbox in order to use an API provided by apple to sync files, that required putting the folder in that location. What you see at ~/Dropbox is actually an alias (shorcut), not the real folder.
I am unsure if you still do not see any files in /Users/me/Library/CloudStorage/Dropbox, though. If that is the case, matlab can be weird sometimes with stuff that is not synced. It could also be that you are in some other weird situation caused by the migration when you updated dropbox.

Categories

Find more on Filename Construction in Help Center and File Exchange

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!