How to link Git remote repository to Simulink Project

6 vues (au cours des 30 derniers jours)
Christopher Scherz
Christopher Scherz le 11 Oct 2017
Commenté : Nick Sarnie le 10 Sep 2018
I am having trouble finding how to add a remote repository to my 'version control system' for a simulink project. I found I can add the repository as a submodule but this doesn't work for my purposes because I would like to link the entire project to a repository and not just a subfolder.
I would really appreciate any help here.
Kind regards,
Chris

Réponses (1)

Nick Sarnie
Nick Sarnie le 17 Oct 2017
Modifié(e) : Nick Sarnie le 17 Oct 2017
Hi Christopher,
To create a Simulink Project with Git inside the main project folder, try the following steps:
  1. Open MATLAB, click New and select Simulink Project in the dropdown
  2. On the left side of the Start Page window, select Source Control
  3. Select Git in the Source control integration dropdown window
  4. Enter the remote path to the Git repository in the Repository path field. For example, https://mygitwebsite.com/myusername/myrepository.git
  5. Select a location for the project in the Sandbox field
  6. Click Retrieve
From here, the Git repository should be cloned and linked to the root directory.
  3 commentaires
James Marriott
James Marriott le 10 Sep 2018
I also have the same issue when using https authentication. Has this ever been resolved?
Nick Sarnie
Nick Sarnie le 10 Sep 2018
Hi James,
Please reach out to Technical Support if you are still having issues.
Thanks, Nick

Connectez-vous pour commenter.

Catégories

En savoir plus sur Project Management dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by