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

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 commentaires

Dear Sione, try to run Matlab as administrator before you do the procedure. This would allow you to save the file.
Thank you, Konstantinos Magkoutas. It worked.
Cheers.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Licensing on Cloud Platforms dans Centre d'aide et File Exchange

Produits

Version

R2020a

Question posée :

le 31 Août 2020

Commenté :

le 2 Sep 2020

Community Treasure Hunt

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

Start Hunting!

Translated by