Matlab Git integration broken: Trailing char < > at index 30

조회 수: 3 (최근 30일)
Jan Kappen
Jan Kappen 2024년 2월 26일
댓글: Jan Kappen 2024년 3월 21일
Hi,
Neither R2023b nor R2024a pre can update the git status of my project. The Git indicators are small dots, hovering says "Unknown", and pushing "refresh" in the Matlab Project interface under "Source Control" says
Trailing char < > at index 30: E:\GIT\gitlab\my-folder\
Any ideas what I could do? git status from command line works well.

답변 (1개)

Shivam
Shivam 2024년 3월 19일
Hi Jan,
I see that you are getting an error "Trailing char < > at index N" when using the 'refresh' option in the MATLAB project interface.
The error typically indicates that there are unexpected characters, like extra spaces, at the end of your project path. Please check and remove any additional spaces or unusual characters from your path configuration, especially near the end.
Alternatively, you can continue to use the command line for Git operations; as you mentioned, git status works well there. This approach allows you to keep working with Git without being blocked by the issue in MATLAB.
You can refer to the following documentation to learn more about the set-up and use of GIT in MATLAB:
I hope it helps.
  댓글 수: 1
Jan Kappen
Jan Kappen 2024년 3월 21일
Hmm the problem is gone, can't reprod :/
Which project path do you mean specifically? You mean by pushing "Project Path" in the opened project or in any xml file under the resource folder?
Thanks.

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

카테고리

Help CenterFile Exchange에서 Source Control에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by