githubFetch

버전 1.1.0.0 (2.62 KB) 작성자: Zoltán Csáti
Download file from GitHub with MATLAB
다운로드 수: 231
업데이트 날짜: 2021/8/11

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 (2024). githubFetch (https://github.com/CsatiZoltan/githubFetch), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
1.1.0.0

Title corrected.

1.0.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.