A function which allows you to easily download releases from GitHub repositories using the GitHub REST API v3
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). downloadGitHubRelease (https://github.com/harleyday/downloadGitHubRelease), GitHub. Retrieved .
General Information
- Version 1.0.1 (10.3 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.1 | Linked to the GitHub repository where this project is stored. |
||
| 1.0 | See release notes for this release on GitHub: https://github.com/harleyday/downloadGitHubRelease/releases/tag/v1.0 |
|
