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

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

4 Comments

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 :)

Sign in to comment.

Answers (0)

Categories

Asked:

on 24 Aug 2018

Commented:

on 25 Aug 2018

Community Treasure Hunt

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

Start Hunting!