audioread() randomly stops working
显示 更早的评论
Hi all,
I keep having this issue where the audioread() function will stop working. If I try to import a .wav file, I get the 'Too many input arguments.' error, even though there is only 1 file in the directory by that name. If I restart Matlab it will work again, but I hate to lose all of the data I've been working on just to get the function to work again.
It also seems like this affects the sound() function as well. Could one of my toolboxes have gotten corrupted?
Thanks for any help!
6 个评论
Walter Roberson
2015-5-19
Please show a full trace of one of the "Too many input arguments" error occurring.
Walter Roberson
2015-5-19
That is not even close to "Too many input arguments".
The file you are trying to open cannot be found. Perhaps you cd'd to a different directory.
jmerritt
2015-5-19
Walter Roberson
2015-5-19
One obscure possibility is that you might be running out of Open File Descriptors, if you have a bunch of open files that were never closed. Try
fclose('all')
when it happens, and see if you can then repeat the command.
jmerritt
2015-5-19
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!