save matdata1 Error using save Unable to write file matdata1: permission denied.

 採用された回答

Amit
Amit 2014 年 2 月 1 日

0 投票

This might be because you dont have permission to write in that folder. Try a different directory and see if it still doesn't work.

7 件のコメント

Ajay  Joseph
Ajay Joseph 2014 年 2 月 1 日
How do I change the directory Since when I press enter after coding save matdata1 with the variables the error pops up. Before I can select a Folder for save as
Ajay  Joseph
Ajay Joseph 2014 年 2 月 1 日
Dont worry Amit I found a way Thanks once again
Amit
Amit 2014 年 2 月 1 日
I am glad that you found a way to fix this!
Andualem alemu
Andualem alemu 2015 年 3 月 18 日
what is the solution you found?
Hagar Hisham
Hagar Hisham 2016 年 5 月 31 日
Please tell us your solution I have the exact same problem
Aram Kirakosyan
Aram Kirakosyan 2016 年 8 月 23 日
Ajay Joseph, may be you will be sooooo kind to answer to the question you posted......if you found it, just share it man
Hamed Davoudi
Hamed Davoudi 2020 年 11 月 10 日
I answer for next generations. change your directory.

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

その他の回答 (3 件)

Shivaputra Narke
Shivaputra Narke 2014 年 2 月 1 日

1 投票

Check the directory,because where you are writing your data on disk is important.
Marco Geraldo Vega Montenegro
Marco Geraldo Vega Montenegro 2018 年 5 月 27 日
編集済み: Marco Geraldo Vega Montenegro 2018 年 5 月 27 日

1 投票

Tenía el mismo problema, lo resolví ejecutando Matlab como administrador. I had the same problem, i fixed it running Matlab as administrator.
Zadran
Zadran 2014 年 9 月 25 日

0 投票

Hello Ajay Joseph. What way you found to fix the bug in your code. I too am facing the same problem in the code that I got from a friend but he too didn't know how to tackle it. I hope you may help.
eval(['save' rp.name])
How did you fix your own code and how you correlate that with the above.
Thanks.

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

タグ

質問済み:

2014 年 2 月 1 日

コメント済み:

2020 年 11 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by