File Exchange

image thumbnail


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


Updated 03 Sep 2020

From GitHub

View Version History

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) 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 (2021). downloadGitHubRelease (, GitHub. Retrieved .

Comments and Ratings (0)

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!