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.
引用格式
Phil (2024). DropboxRootPath() (https://www.mathworks.com/matlabcentral/fileexchange/52975-dropboxrootpath), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2014b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Programming > Files and Folders > Filename Construction >
- MATLAB > External Language Interfaces > Other languages > DropBox >
在 Help Center 和 MATLAB Answers 中查找有关 Filename Construction 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |