Error with 'audiowrite' in R2012b

14 visualizzazioni (ultimi 30 giorni)
Soumya Mohanty
Soumya Mohanty il 5 Ott 2012
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.

Risposta accettata

Sean de Wolski
Sean de Wolski il 5 Ott 2012
Modificato: Sean de Wolski il 5 Ott 2012
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

Più risposte (0)

Categorie

Scopri di più su Audio Plugin Creation and Hosting in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by