This function simply returns the path location of your Dropbox folder.
path=DropboxRootPath();
I find this useful for automatically setting up Matlab paths on multiple computers where I store my libraries on Dropbox
It works by reading the info.json file that Dropbox generates. I've tested this on Windows 7 and a Mac, but it should work on Linux. It should also work on earlier releases of Matlab but I've not tested that.
Citation pour cette source
Phil (2026). DropboxRootPath() (https://fr.mathworks.com/matlabcentral/fileexchange/52975-dropboxrootpath), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2014b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Programming > Files and Folders > Filename Construction >
- MATLAB > External Language Interfaces > Other languages > DropBox >
En savoir plus sur Filename Construction dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
