Access is Denied error
Mostrar comentarios más antiguos
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 comentarios
Alex Báez
el 19 de Dic. de 2015
Hi before you start matlab program must right click on matlab program icon and select "Run as administrator" item. Good Luck
Steven
el 22 de Mayo de 2017
Thanks a lot!
CHERKAOUI Abdeljabbar
el 25 de Mayo de 2019
THANK YOU IT'S GOOD
Aimable NGENDAHAYO
el 16 de Nov. de 2022
Thank you a lot
Respuestas (2)
Kaustubha Govind
el 18 de Jun. de 2013
1 voto
Try changing your current working directory to something that's not under C:\windows.
7 comentarios
Prashanth
el 18 de Jun. de 2013
Abdelhedi Riadh
el 16 de Abr. de 2014
Hi, I have the a problem lke this please help me. when i want to simulate matlab function i have this error
"Unable to create directory: C:\Program Files\MATLAB\R2011a\slprj" !!!!!!!!!!!!
Kaustubha Govind
el 16 de Abr. de 2014
Abdelhedi Riadh
el 16 de Abr. de 2014
Sorry for asking but i know that we change directory with cd command . but the problem is that i will change what and how "from what to what" sorry for asking much question but can you explain me what is the problem exactly and what is the solution to resolve it . thanks a lot .
MUKHTAR MANSURI
el 23 de Ag. de 2020
also you can change your working directory from matlab curent folder location.
shafiq ahmed ahmed
el 3 de Mzo. de 2021
Editada: shafiq ahmed ahmed
el 3 de Mzo. de 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.
Abdelazyz RKHISS
el 21 de Nov. de 2021
it's working thank U
Mahdi Mah
el 20 de Jul. de 2021
0 votos
hello,excuse me
How can I enter the Arduino sensor code into the MATLAB simulator and print receive data?
thankyou.
Categorías
Más información sobre Environment and Settings en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!