Intan file import error

Hi, I’m trying to import an intan file and I get the following:
Line 201: Undefined function ‘bi2de’ for input arguments of type double

Call stack:
in_fopen_intan.m at 201

Does anyone have a similar issue? I thought it had to do with the fact that I don’t have the communications toolbox in my Matlab release but I get the same issue when trying to use the Matlab runtime version as well.

@NickChernov The toolbox is indeed missing… the compiled version of Brainstorm was generated without this toolbox, so it won’t help.

@mpompolas Do you need the communications toolbox for reading these files?
If possible, can you rewrite your code so it uses only standard Matlab (plus, if you really can’t avoid it, the signal processing toolbox)?
Thanks

I removed the dependency to the Communications toolbox in the following commit: https://github.com/brainstorm-tools/brainstorm3/commit/6400345e1d90225924ade02d08d21548686bde6d

The dependency to the Signal Processing toolbox is still present however. I’m not sure what’s a good alternative to findpeaks().

Cheers,
Martin

@NickChernov If you have the signal processing toolbox, please update Brainstorm and try again.

Works great now, thank you all!
Nick

Thanks Martin.
A quick look online showed an alternative for findpeaks in case you guys want to avoid the signal processing toolbox:

Thanks, do you think you could adapt your code to use it instead of findpeaks?

A post was split to a new topic: Import error: FIF raw