Access is Denied error
23 ビュー (過去 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!