downloadGitHubRelea​se

Version 1.0.1 (10.3 KB) by Harley Day
A function which allows you to easily download releases from GitHub repositories using the GitHub REST API v3

139 Downloads

Updated 28 May 2021

From GitHub

View License on GitHub

Download from a GitHub repository using:

downloadGitHubRelease ( '<username>/<repo>', '<version ID or latest>');

If you wish to automatically install the MATLAB toolbox which you download, specify: 'install', true:

downloadGitHubRelease ( '<username>/<repo>', '<version ID or latest>, 'install', true )

If your respsitory is private, you must provide a personal access token (PAT) https://github.com/settings/tokens and pass it into the function using: 'token', '<PAT>':

downloadGitHubRelease ( '<username>/<repo>', '<version ID or latest>, 'token', '<your PAT is 30 random characters from GitHub>', 'install', true )

Cite As

Harley Day (2023). downloadGitHubRelease (https://github.com/harleyday/downloadGitHubRelease), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.1

Linked to the GitHub repository where this project is stored.

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.