Connect File Exchange to GitHub

MATLAB and Simulink Integration for GitHub is the supported way to share GitHub repositories on File Exchange.

  1. Go to https://github.com/apps/matlab-and-simulink-integration/installations/new or click the “Connect to GitHub” button.
  2. Choose the GitHub personal account or organization that owns the repositories you want to connect to File Exchange.
    Screenshot showing an example of the select accounts UI on GitHub

GitHub Organization Accounts

Installing MATLAB and Simulink Integration for GitHub on a GitHub organization requires organization permissions. See GitHub’s documentation for details.

If you do not have permission to install on an organization, you will see an “Authorize & Request” button. This prompts an organization owner or administrator to authorize installation.

  1. 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.
    Screenshot showing an example of the select repositories UI on GitHub
  2. 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.
  3. To manage the File Exchange/GitHub connection, visit https://github.com/apps/matlab-and-simulink-integration and click “Configure”.