Access is Denied error

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 件のコメント

Alex Báez
Alex Báez 2015 年 12 月 19 日
Hi before you start matlab program must right click on matlab program icon and select "Run as administrator" item. Good Luck
Steven
Steven 2017 年 5 月 22 日
Thanks a lot!
CHERKAOUI Abdeljabbar
CHERKAOUI Abdeljabbar 2019 年 5 月 25 日
THANK YOU IT'S GOOD
Aimable NGENDAHAYO
Aimable NGENDAHAYO 2022 年 11 月 16 日
Thank you a lot

サインインしてコメントする。

回答 (2 件)

Kaustubha Govind
Kaustubha Govind 2013 年 6 月 18 日

1 投票

Try changing your current working directory to something that's not under C:\windows.

7 件のコメント

Prashanth
Prashanth 2013 年 6 月 18 日
sorry for my asking, but how do i do this ?
Abdelhedi Riadh
Abdelhedi Riadh 2014 年 4 月 16 日
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
Kaustubha Govind 2014 年 4 月 16 日
You can use the cd command to change the current directory.
Abdelhedi Riadh
Abdelhedi Riadh 2014 年 4 月 16 日
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
MUKHTAR MANSURI 2020 年 8 月 23 日
also you can change your working directory from matlab curent folder location.
shafiq ahmed ahmed
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.
Abdelazyz RKHISS
Abdelazyz RKHISS 2021 年 11 月 21 日
it's working thank U

サインインしてコメントする。

Mahdi Mah
Mahdi Mah 2021 年 7 月 20 日

0 投票

hello,excuse me
How can I enter the Arduino sensor code into the MATLAB simulator and print receive data?
thankyou.

2 件のコメント

KAE
KAE 2021 年 7 月 23 日
Start a new question since you are introducing a new topic. That way you are more likely to get an answer.
Mahdi Mah
Mahdi Mah 2021 年 7 月 25 日
Yes , thank you for your guidance .

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

製品

タグ

質問済み:

2013 年 6 月 18 日

コメント済み:

2022 年 11 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by