This function returns the path to the Dropbox folder of the current user (if it exists).
This is read from the dropbox host.db database, assuming it is in the default location.
for unix/mac
~/.dropbox/host.db
for windows
%APPDATA%\Dropbox\host.db
Base 64 decode used code from "Byte encoding utilities" (File ID: #39526).
Tested on OSX 10.9 and Win 7 with Dropbox 2.10.27 (personal account only, I have no idea what host.db looks like for business account).
引用格式
christhechris (2026). dropboxPath.m (https://ww2.mathworks.cn/matlabcentral/fileexchange/47644-dropboxpath-m), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2014a
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Programming > Files and Folders > Filename Construction >
- MATLAB > External Language Interfaces > Other languages > DropBox >
在 Help Center 和 MATLAB Answers 中查找有关 Filename Construction 的更多信息
标签
致谢
参考作品: Byte encoding utilities
