Access is Denied error
조회 수: 64 (최근 30일)
이전 댓글 표시
I am trying to create a stateflow chart in the simulink model and have created two variables within the chart. I have a sine wave as input to the chart with the output fed to a scope. Now, when i run the simulation, i get an error message which says unable to create directory C:\windows\system32\slprj and it also says access is denied. I am using the software as administrator. What do I do ??
댓글 수: 4
답변 (2개)
Kaustubha Govind
2013년 6월 18일
Try changing your current working directory to something that's not under C:\windows.
댓글 수: 7
shafiq ahmed ahmed
2021년 3월 3일
편집: shafiq ahmed ahmed
2021년 3월 3일
>> cd 'H:\Matlab_Programs_HD'
This command can also be used for changing directory in MATLAB. It allows MATLAB to save file in "MATLAB_Program_HD" folder present in "H" drive instead of "C" drive.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!