Error with 'audiowrite' in R2012b

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

1 件のコメント

Soumya Mohanty
Soumya Mohanty 2012 年 10 月 5 日
Thanks! this works.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAudio 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