フィルターのクリア

Set Up Git Source Control shows error

7 ビュー (過去 30 日間)
TONG WENYANG
TONG WENYANG 2022 年 1 月 12 日
回答済み: Rocco Di Taranto 2022 年 5 月 5 日
i want to install Git on R2020a version, i am following the step which was given here git
To configure MATLAB® to use Git™ Hooks on Windows®, install Cygwin and add it to the MATLAB library path. Git Hooks are custom scripts that can be triggered by operations such as committing, merging, and receiving pushed commits.
  1. Download the installer from https://www.cygwin.com/. Run the installer.
  2. Open librarypath.txt. In the MATLAB Command Window, enter:edit(fullfile(matlabroot,"toolbox","local","librarypath.txt"))Add the Cygwin bin folder location to the end of librarypath.txt, for example, C:\cygwin64\bin.If you do not have permission to edit the librarypath.txt file, see Locate Native Method Libraries.
I have already download cygwin from online and after i enter edit(fullfile(matlabroot,"toolbox","local","librarypath.txt,C:\cygwin64\bin"))
It shows >> edit(fullfile(matlabroot,"toolbox","local","librarypath.txt,C:\cygwin64\bin"))
Error using edit (line 66)
Neither 'D:\Matlab_2020a_update\toolbox\local\librarypath.txt,C:\cygwin64\bin' nor
'D:\Matlab_2020a_update\toolbox\local\librarypath.txt,C:\cygwin64\bin.m' could be found.
How should i solved it?

採用された回答

Samson David Puthenpeedika
Samson David Puthenpeedika 2022 年 2 月 3 日
You need to enter this-"C:\cygwin64\bin" in the script at line 12 and then just save it.

その他の回答 (1 件)

Rocco Di Taranto
Rocco Di Taranto 2022 年 5 月 5 日
Hi,
I do not have permission to edit the librarypath.txt file, and I am trying to follow the instructions in Locate Native Method Libraries. But the instructions in there are not clear to me (or don't solve the problem I have). Can somebody help me with this?
Thank you!

カテゴリ

Help Center および File ExchangeSource Control Integration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by