Download file from GitHub with MATLAB
이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
There are many solutions for automatically downloading files from GitHub. However, they work easily mainly under Linux, needing the libraries wget or curl. If someone works with Windows or directly wants to use MATLAB, this program is useful.
The syntax is
filestr = githubFetch(user, repository, downloadType, name)
with the inputs
user: name of the user or the organization
repository: name of the repository
downloadType: 'branch' or 'release'
name: if downloadType is 'branch': branch name (default: 'master')
if downloadType is 'release': release version (default: 'latest')
and the output
filestr: path to the downloaded file (empty if the downloading failed)
Examples:
1) githubFetch('GLVis', 'glvis', 'branch')
% same as githubFetch('GLVis', 'glvis', 'branch', 'master')
2) githubFetch('matlab2tikz', 'matlab2tikz', 'branch', 'develop')
3) githubFetch('matlab2tikz', 'matlab2tikz', 'release', '1.1.0')
4) githubFetch('matlab2tikz', 'matlab2tikz', 'release')
% same as githubFetch('matlab2tikz', 'matlab2tikz', 'release', 'latest')
인용 양식
Zoltán Csáti (2026). githubFetch (https://github.com/CsatiZoltan/githubFetch), GitHub. 검색 날짜: .
도움
도움 준 파일: human body parts detection
GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.1.0.0 | Title corrected. |
||
| 1.0.0.0 |
