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.
Citar como
Phil (2026). DropboxRootPath() (https://la.mathworks.com/matlabcentral/fileexchange/52975-dropboxrootpath), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2014b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Programming > Files and Folders > Filename Construction >
- MATLAB > External Language Interfaces > Other languages > DropBox >
Más información sobre Filename Construction en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
