MATLAB Answers

Access is Denied error

208 views (last 30 days)
Prashanth
Prashanth on 18 Jun 2013
Commented: KAE etwa 2 Stunden ago
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 ??
  3 Comments
CHERKAOUI Abdeljabbar
CHERKAOUI Abdeljabbar on 25 May 2019
THANK YOU IT'S GOOD

Sign in to comment.

Answers (2)

Kaustubha Govind
Kaustubha Govind on 18 Jun 2013
Try changing your current working directory to something that's not under C:\windows.
  6 Comments
shafiq ahmed ahmed
shafiq ahmed ahmed on 3 Mar 2021
>> 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.

Sign in to comment.


Mahdi Mah
Mahdi Mah on 20 Jul 2021 at 13:38
hello,excuse me
How can I enter the Arduino sensor code into the MATLAB simulator and print receive data?
thankyou.
  1 Comment
KAE
KAE etwa 2 Stunden ago
Start a new question since you are introducing a new topic. That way you are more likely to get an answer.

Sign in to comment.

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by