Borrar filtros
Borrar filtros

Permission denied when I write an audio file

9 visualizaciones (últimos 30 días)
i Venky
i Venky el 29 de Feb. de 2012
Comentada: Mogahed Sharafuden el 30 de En. de 2021
I created a variable 'z' and I flipped an variable containing an audio and I assigned that flipped data to the variable 'z'.
When I tried to write that variable 'z' as an audio file I am getting this error
"Permission denied".
This is what I did-
wavwrite(z,'audio.wav');
  2 comentarios
Daniel Shub
Daniel Shub el 29 de Feb. de 2012
Do you have write permission in the current directory?
Walter Roberson
Walter Roberson el 29 de Feb. de 2012
Windows 7? If so then what directory name are you trying to write into?

Iniciar sesión para comentar.

Respuestas (2)

Wayne King
Wayne King el 29 de Feb. de 2012
Do you have write permission in the directory you are trying to write the .wav file?
Is a .wav file by that name and in that directory already open in some other program?
If the above are not true, please show the size and class of z.

gdb
gdb el 11 de Ag. de 2012
right click on the matlab icon and run as administrator

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by