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.
Cita come
Phil (2026). DropboxRootPath() (https://it.mathworks.com/matlabcentral/fileexchange/52975-dropboxrootpath), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2014b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Programming > Files and Folders > Filename Construction >
- MATLAB > External Language Interfaces > Other languages > DropBox >
Scopri di più su Filename Construction in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
