error using audiowrite​>validateF​ilename (line 323)

this error warning appears when i run my code: "Cannot create file Myname.wav. Permission Denied"

4 件のコメント

Stephen23
Stephen23 2018 年 8 月 24 日
Do NOT save files to a directory where you do not have permission. In particular, do NOT try to write any files to any program installation folders, i.e. under "Program Files" on Windows.
Anzila Saeed
Anzila Saeed 2018 年 8 月 24 日
it means its an error related to directory permissions. it has nothing to do with matlab command syntax?
OCDER
OCDER 2018 年 8 月 24 日
WITHOUT using Matlab, can you create a file into the directory your are trying to save to? Like a .txt, .docx, .pptx, etc?
Anzila Saeed
Anzila Saeed 2018 年 8 月 25 日
I run MATLAB as administrator and this error was gone. Thanks for helping :)

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2018 年 8 月 24 日

コメント済み:

2018 年 8 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by