Hi Francois,
I got exactly the same error as here while trying with the tutorial example dataset on Brainstorm. I have compiled the library but it's still not working. It might be due to the built-in function of MATLAB itself?