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

4 views (last 30 days)
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 Comments
jeancola
jeancola on 21 Jul 2016
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();

Sign in to comment.

Accepted Answer

jeancola
jeancola on 25 Jul 2016
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 Comments
Alain
Alain on 25 Jul 2016
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.
JustinL
JustinL on 16 Aug 2016
Thanks, Alain! It was FieldTrip for me as well. I never would have guessed it without your comment.

Sign in to comment.

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!