Permission denied when I write an audio file

29 ビュー (過去 30 日間)
i Venky
i Venky 2012 年 2 月 29 日
コメント済み: Mogahed Sharafuden 2021 年 1 月 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 件のコメント
Daniel Shub
Daniel Shub 2012 年 2 月 29 日
Do you have write permission in the current directory?
Walter Roberson
Walter Roberson 2012 年 2 月 29 日
Windows 7? If so then what directory name are you trying to write into?

サインインしてコメントする。

回答 (2 件)

Wayne King
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.

gdb
gdb 2012 年 8 月 11 日
right click on the matlab icon and run as administrator
  1 件のコメント
Mogahed Sharafuden
Mogahed Sharafuden 2021 年 1 月 30 日
Thank you a lot
you saved me in 2021 ^^^^^^

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by