dropboxPath.m

버전 1.1.0.0 (1.13 KB) 작성자: christhechris
Get path to dropbox folder of current user.
다운로드 수: 446
업데이트 날짜: 2014/8/28

라이선스 보기

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 (2025). dropboxPath.m (https://kr.mathworks.com/matlabcentral/fileexchange/47644-dropboxpath-m), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2014a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Filename Construction에 대해 자세히 알아보기
태그 태그 추가
도움

도움 받은 파일: Byte encoding utilities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

You can add arguments in similar style to fullfile to get a path within a dropbox folder, i.e.
dbpath = dropboxPath(filepart1,...,filepartN).

Note this requires the "strjoin" added in 2013a.

1.0.0.0