Unable to write to Simulink cache file 'C:\modelname.slxc' because you do not have write permission for the file.
조회 수: 73 (최근 30일)
이전 댓글 표시
when I am trying to generate c code from my model, I encounter this error, how to resolve this?
Unable to write to Simulink cache file 'C:\modelname.slxc' because you do not have write permission for the file.
댓글 수: 2
답변 (2개)
Walter Roberson
2023년 7월 9일
이동: Walter Roberson
2023년 7월 10일
I mean C:\ itself not somewhere inside of the C drive.
You would get this error if your current directory is C:\ itself. Your current directory needs to a directory that you have write access to.
댓글 수: 5
Adeel
2024년 6월 1일
Error:Unable to write to Simulink cache file 'E:\Laptop Data\Personal\PHD DATA\UW\PI\MyModel.slxc' because you do not have write permission for the file.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!