필터 지우기
필터 지우기

i want to write wav to a file useing wavwrite function

조회 수: 2 (최근 30일)
Abdulkareem
Abdulkareem 2012년 9월 28일
i use y=wavrecord(n,fs) to record sound after i assign fs=11025 ; n=3*fs then i play the wav with wavplay and when i want to write it to file useing wavwrite occur this error Error using wavwrite>OpenWaveWrite (line 169) Unable to open file. Reason: Permission denied
Error in wavwrite (line 95) fid = OpenWaveWrite(wavefile);
i use this function
wavwrite(y,fs,'test.wav')

채택된 답변

Walter Roberson
Walter Roberson 2012년 9월 28일
Check to see if the file is open in another process.
Check where you are trying to write the file. If you are in Windows 7 and you try to write under the system folder (e.g.., if MATLAB is installed in the system folder), then that will be denied unless you are running as administrator.
  댓글 수: 1
Abdulkareem
Abdulkareem 2012년 9월 28일
than you very much mr. walter your answer solve the problem

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by