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

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

4 Kommentare

Stephen23
Stephen23 am 24 Aug. 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 am 24 Aug. 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 :)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Aug. 2018

Kommentiert:

am 25 Aug. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by