`matlab.git.GitRepository` not existing in Matlab
7 次查看(过去 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'.
采纳的回答
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.
Please check the "version history" section in below documentation: https://www.mathworks.com/help/matlab/ref/matlab.git.gitrepository.html#mw_y776deag7h39o0u90p3305-e993-4702-b2b9-f53c6304f8ab_vh
I hope it helps!
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Install Products 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!