audioread function error with undefined variable

I am trying to get this to run:
[y,Fs] = audioread('cap1.mp3');
sound(y,Fs);
Yesterday it was working perfectly. Today it is erroring out in audioread function and saying:
Undefined function or variable 'nel'.
Error in audioread (line 134)
throw(exception);
Error in taunts (line 15)
[y,Fs] = audioread('cap1.mp3');
Anyone have any ideas as to why this could be? oh and I am on version R2016a. But it works just fine on another computer running R2016a.

1 个评论

I speculate that somewhere in audioread you have accidentally changed a reference to channel to be nel or possibly chan nel. You should
edit audioread
and search for occurrences of nel that are not channel and change the context to be channel

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Audio I/O and Waveform Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by