- On the Home tab, click New > Project > From Git. The New Project from Source Control dialog box opens.
- Under Repository path, specify the repository URL.
- Under Sandbox, select the working folder where you want to put the retrieved files for your new project.
- Click Retrieve.
Source Control Preferences not appear in matlab 2021a
12 views (last 30 days)
Show older comments
Hello,
I am trying to install the git for commiting/merging and compare. It is correctly installed because if I do
!git
I get the usage of that command
But I cannot do anything because the command Source control is not where it should be. I checked the preferences of matlab and the Source Control is enabled so I do not undertand why I cannot see the source control in the menu to do the usual git actions.
Thank you very much
0 Comments
Answers (1)
Nehemiae
on 9 Mar 2023
Hello,
To start a new git project, perform the following steps:
Then in MATLAB a new Project tab will open, which has the Source Control section, through which you can perform the required git operations.
The documentations on setting up git source control (https://www.mathworks.com/help/releases/R2021a/matlab/matlab_prog/set-up-git-source-control.html#responsive_offcanvas) and using source control with projects (https://www.mathworks.com/help/releases/R2021a/matlab/matlab_prog/use-source-control-with-projects.html) are helpful in this regard.
0 Comments
See Also
Categories
Find more on Git in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!