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

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

4 commentaires

Stephen23
Stephen23 le 24 Août 2018
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?
OCDER
OCDER le 24 Août 2018
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 :)

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Question posée :

le 24 Août 2018

Commenté :

le 25 Août 2018

Community Treasure Hunt

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

Start Hunting!

Translated by