Matlab Github integration on 2021a "incorrect username and password"

55 ビュー (過去 30 日間)
dleal
dleal 2021 年 10 月 21 日
コメント済み: Usamma Amjad 2022 年 6 月 1 日
I am following this MATLAB Youtube video on how to use source control in matlab on Github
I am using MacOS. I first created a private github repository whose https is https://github.com/myUser/repName.git. I then created an empty folder, and, in MATLAB, i right-clicked on the empty folder directory, selected "source control > manage files" and copied the above https repository address under "repository path". MATLAB then asks me to fill in my github username and password, where I use the same ones I key in to access my github on my web browser. However, MATLAB insists that I am using and incorrect username and password, even though they are correct.
Again, I am following exactly the same procedure as in the MATLAB video linked above. I have not configured any of the SSH. Should I do this before following the steps in the video?
thank you,
  5 件のコメント
Zhipeng Ding
Zhipeng Ding 2022 年 1 月 4 日
編集済み: Zhipeng Ding 2022 年 1 月 4 日
Yes, I follow the same video and get the problem vith R2021b, Could some expert help us?? thanks
Luigi Scorzato
Luigi Scorzato 2022 年 4 月 16 日
same here

サインインしてコメントする。

回答 (1 件)

Martin Domeny
Martin Domeny 2022 年 5 月 10 日
You have to set up a personal access token (PAT) for your github account, and use that as password in matlab.
Here is how you can create one:

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by