audiorecorder fails to open (Invalid type of input arguments (should be uint64))

Audiorecorder fails to open:
Error using audiorecorder/initialize (line 241)
Invalid type of input arguments (should be uint64)
Error in audiorecorder (line 193)
obj.initialize();
I'm using rev 2015b on MacOSX 10.11.5.
Any ideas?

7 Commenti

Same problem here! Could anyone help us? Thank you so much!
When I test with R2016a on OS-X 10.11.5 it works for me. It takes a fair while to set up the recording session, though.
I installed R2015a on OS-X 10.11.5 and had no difficulty, and the recording started quickly. Going back to R2016a the recording started quickly as well; perhaps something I had done previously in the session slowed down the initial attempt.
I have the same problem. I have R2014a on Mac 10.10. For 6 months audiorecorder have worked well and since today it hasn't worked anymore displaying the same error message. Did you find why it didn't work for you?
How are you calling audiorecorder? Please show the code that is generating the error.
When I write audiorecorder or audiorecorder(441000,24,1) I have then the error:
>> audiorecorder(44100,24,1)
Error using audiorecorder/initialize (line 241) Invalid type of input arguments (should be uint64)
Error in audiorecorder (line 193) obj.initialize();
It happens even when I just call the fonction audiorecorder alone.

Accedi per commentare.

 Risposta accettata

I solved it! (for my computer) The problem was caused by the fact that I added in Path the folder of a toolbox (spm) with its subfolders. When I removed the subfolders from Path, audiorecorder worked again, and the toolbox still worked fine.

2 Commenti

Thanks! It seems it's due to a @uint64 class folder in either FieldTrip or EEGlab that are included in the SPM distribution. This sort of fragility is really annoying.
Thanks, Alain! It was FieldTrip for me as well. I never would have guessed it without your comment.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by