Connect File Exchange to GitHub
MATLAB and Simulink Integration for GitHub is the supported way to share GitHub repositories on File Exchange.
- Go to https://github.com/apps/matlab-and-simulink-integration/installations/new or click the “Connect to GitHub” button.
-
Choose the GitHub personal account or organization that owns the repositories you want to connect to File Exchange.
-
Choose the repositories that you want to connect.MATLAB and Simulink Integration for GitHub requests permissions on your repositories.
MathWorks will never change anything in your repository without your authorization. -
Click Install. You will be redirected to the My File Exchange page. The My File Exchange page lists all of the GitHub repositories that you can connect to File Exchange.
- Previously connected repositories. Repositories that you shared on File Exchange before installing MATLAB and Simulink Integration for GitHub are automatically updated.
- Newly connected repositories. Repositories that you have not shared on File Exchange must be published before they are accessible to other File Exchange users. The My File Exchange page prompts you to publish these repositories.
- To manage the File Exchange/GitHub connection, visit https://github.com/apps/matlab-and-simulink-integration and click “Configure”.