Access is Denied error
60 次查看(过去 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!