Set Up Git Source Control: "Matlab Editor: Error writing librarypath.txt"
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Konstantinos Magkoutas
el 1 de Sept. de 2020
Dear Sione, try to run Matlab as administrator before you do the procedure. This would allow you to save the file.
Respuestas (0)
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!