`matlab.gi​t.GitRepos​itory` not existing in Matlab

조회 수: 7 (최근 30일)
Chandler
Chandler 2024년 4월 17일
답변: Gayatri 2024년 4월 30일
Hello. I cannot seem to make use of matlab.git.GitRepository in Matlab like this tutorial: https://nl.mathworks.com/help/matlab/ref/matlab.git.gitrepository.html#mw_y776deag7h39o0u90p3305-e993-4702-b2b9-f53c6304f8ab_vh
matlab.git.GitRepository is not recognized and I am getting the following error: Unable to resolve the name 'matlab.git.GitRepository'.
  댓글 수: 1
Chandler
Chandler 2024년 4월 17일
I was using an outdated version of Matlab R2022b instead of R2023b

댓글을 달려면 로그인하십시오.

채택된 답변

Gayatri
Gayatri 2024년 4월 30일
Hi Chandler,
The matlab.git.GitRepository object is designed to represent the currently active local Git repository. This functionality was introduced in MATLAB version R2023b. Consequently, attempting to use it in MATLAB version R2022b results in the error "Unable to resolve the name 'matlab.git.GitRepository'" because this feature is not available in earlier versions.
I hope it helps!

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by