Permission denied when I write an audio file
11 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Wayne King
2012-2-29
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!