MATLAB Answers

Error with 'audiowrite' in R2012b

7 views (last 30 days)
I ran the example provided in the documentation for 'audiowrite' and got an error (R2012b). Help!
load handel.mat
filename = 'handel.wav';
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: "" fails this test.

Accepted Answer

Sean de Wolski
Sean de Wolski on 5 Oct 2012
Edited: Sean de Wolski on 5 Oct 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.
rehash toolboxcache

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by