I ran the example provided in the documentation for 'audiowrite' and got an error (R2012b). Help!
----------------
load handel.mat
filename = 'handel.wav';
audiowrite(filename,y,Fs);
clear y Fs
Error: File: audiowrite.m Line: 119 Column: 8 Arguments to IMPORT must either end with ".*" or else specify a fully qualified class name: "multimedia.internal.audio.file.PluginManager" fails this test.

 채택된 답변

Sean de Wolski
Sean de Wolski 2012년 10월 5일
편집: Sean de Wolski 2012년 10월 5일

2 개 추천

The error is occuring because the old pathdef.m file is maintained between releases and thus the right plugin is not being used. Please execute the following command to fix the issue.
restoredefaultpath
savepath
rehash toolboxcache

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Audio Plugin Creation and Hosting에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by