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

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!