Set Up Git Source Control: "Matlab Editor: Error writing librarypath.txt"
1 次查看(过去 30 天)
显示 更早的评论
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
2020-9-1
Dear Sione, try to run Matlab as administrator before you do the procedure. This would allow you to save the file.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!