- Selective Sync: Use Dropbox's Selective Sync feature to only sync the folders you need in MATLAB. This way, you can avoid having MATLAB access folders that are set to online-only. You can get more details regarding the selective sync at: https://help.dropbox.com/sync/selective-sync-overview.
- Manual Management: Manually set the files you need in MATLAB to be "Local" before you start MATLAB. This way, only the files you need will be downloaded.
- Access Control: If you are able to modify the MATLAB code that is accessing the folders, add checks to ensure that it only accesses files that are required for your work. Avoid running commands that would list or access all files in a directory, such as "ls", "dir", or any file I/O operations over the entire folder's contents.
stop automatic download of smart sync files from dropbox
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I change the path in my Matlab fodlder to a dropbox folder, it automatically tried to dowload files and folders that are online only (on the cloud via smart sync).
This is really annoying, and using explorer to browse the folder does not trigger that. Is there away to have matlab stop trying to acess dropbox smart sync files?
0 commentaires
Réponses (1)
Yash
le 11 Jan 2024
Hi Adi,
When MATLAB changes the current folder or path to a Dropbox folder that is managed by Smart Sync, it may try to access all files within that folder, which can trigger Dropbox to download the files that are set to "Online Only" mode.
MATLAB might not be directly compatible with Dropbox's Smart Sync feature, as it does not distinguish between online-only files and locally available files. However, there are some workarounds that you can try to prevent MATLAB from triggering the download of all files:
However, for optimal performance, it is recommended to download the files that you want to access on a local storage. This approach not only avoids unnecessary downloads but also prevents potential permission conflicts that may arise from concurrent file access by different applications.
Hope this helps!
0 commentaires
Voir également
Catégories
En savoir plus sur Filename Construction dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!