Set Up Git Source Control: "Matlab Editor: Error writing librarypath.txt"

1 回表示 (過去 30 日間)
Sione Palu
Sione Palu 2020 年 8 月 31 日
コメント済み: Sione Palu 2020 年 9 月 2 日
I followed the steps shown in the following page for Windows Operating System on AWS WorkSpaces on the cloud. I have a home-licence. I've been using my new R2020a Matlab for at least 2+ weeks now, so I have no problem. It's the "Set Up Git Source Control", which tried to do today, I had the problem as described below.
"Set Up Git Source Control"
I followed Step 1) successfully. On Step 2), I had trouble after successfully installing Cygwin and followed by trying add it to the Matlab library path as instructed here:
  • edit(fullfile(matlabroot,"toolbox","local","librarypath.txt")).Add the Cygwin bin folder location to the end of librarypath.txt, for example C:\cygwin64\bin
I added "C:\cygwin64\bin" to the end of my librarypath.txt as shown below:
========
##
## FILE: librarypath.txt
##
## Entries:
## o path_to_jnifile
## o [alpha,glnx86,sol2,unix,win32,mac]=path_to_jnifile
## o $matlabroot/path_to_jnifile
## o $jre_home/path_to_jnifile
##
$matlabroot/bin/$arch
$matlabroot/sys/jxbrowser/$arch/lib
C:\cygwin64\bin
========
I the clicked to "Save" and a pop up dialog box popped-up with the following error message in the Matlab Editor:
Error writing librarypath.txt
C:\Program Files\Matlab\R2020a\toolbox\local\librarypath.txt (Access is denied)
How can this be resolved?
Cheers.
  2 件のコメント
Konstantinos Magkoutas
Konstantinos Magkoutas 2020 年 9 月 1 日
Dear Sione, try to run Matlab as administrator before you do the procedure. This would allow you to save the file.
Sione Palu
Sione Palu 2020 年 9 月 2 日
Thank you, Konstantinos Magkoutas. It worked.
Cheers.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by