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

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

4 个评论

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.
it means its an error related to directory permissions. it has nothing to do with matlab command syntax?
WITHOUT using Matlab, can you create a file into the directory your are trying to save to? Like a .txt, .docx, .pptx, etc?
I run MATLAB as administrator and this error was gone. Thanks for helping :)

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by