Problem in Interfacing MindWave- NeuroSky

After interfacing the mindwave mobile the following error is generated:
Error using loadlibrary
No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install
MinGW-w64 Compiler. For more options, visit http://www.mathworks.com/support/compilers/win64/R2016a.html.
Error in loadlibrary
Error in readRAW (line 26)
loadlibrary('thinkgear.dll','thinkgear.h');
Inspite of downloading the MinGW-w64 Compiler. The same error appears. Kindly provide your assistance.

5 commentaires

What steps did you use to install MinGW ?
If you use
mex -setup C++
then are you able to see MinGW there?
Prajna Upadhyaya
Prajna Upadhyaya le 31 Mai 2017
Inspite of having 64 bit Operating system and MATLAB of version 64. The following error is generated, Error in readRAW (line 26) loadlibrary('thinkgear.dll','thinkgear.h');
Caused by: Error using loaddefinedlibrary E:\new neurology\eye blink 3\Debug\thinkgear.dll is not a valid Win32 application.
Walter Roberson
Walter Roberson le 31 Mai 2017
thinkgear.dll appears to be 32 bit only.
Ajna Ram
Ajna Ram le 3 Mar 2019
I have the same issue. Did you find the solution?
Walter Roberson
Walter Roberson le 9 Mar 2019

Connectez-vous pour commenter.

Réponses (2)

Aylin
Aylin le 1 Juin 2017

0 votes

As Walter mentioned, it is not possible to load a 32-bit shared library (DLL) into a 64-bit version of MATLAB using the loadlibrary command.
MATLAB R2015b was the last MATLAB release which had a 32-bit version. Therefore, you should install a 32-bit MATLAB which is R2015b or older.
After doing this, you might not need to install a new 32-bit compatible compiler since 32-bit MATLAB versions usually have the 'lcc-win32' compiler installed by default. See the 'supported compilers' page corresponding to your MATLAB release for more information about this:
Please note that loadlibrary has a few different limitations for importing C DLLs into MATLAB:
The above link can help verify if your header file and DLL is compatible with MATLAB's loadlibrary function.

2 commentaires

Prajna Upadhyaya
Prajna Upadhyaya le 5 Juin 2017
After running it with respect to 32 bit matlab the following error was found:
thinkgear.dll loaded ThinkGear DLL version: 21 Error using calllib Library was not found
Error in readRAW (line 36) connectionId1 = calllib('thinkgear64', 'TG_GetNewConnectionId');
Walter Roberson
Walter Roberson le 5 Juin 2017
Odd that the same source code would call upon thinkgear.dll and thinkgear64.dll

Connectez-vous pour commenter.

Suha Ali
Suha Ali le 18 Août 2020

0 votes

can I ask you a question :( is NeuroSky MindWave codes of reading measured signals (like Alpha waves) are different from that of the NeuroSky MindWave Mobile??? it would be a geat help if someone answers! thank you in advance!

4 commentaires

Walter Roberson
Walter Roberson le 18 Août 2020
I think so, except for the difference between USB (original MindWave) or BlueTooth (Mobile).
I am going here based upon https://store.neurosky.com/pages/faq
Both our MindWave and MindWave Mobile headsets utilize the same hardware and read the same EEG signals. The MindWave headset will require a computer with a USB port to plug in the included RF receiver. On the other hand, our MindWave Mobile headset utilizes Bluetooth for connectivity. This feature will allow the headset to connect directly to your Bluetooth enabled computer, phone or tablet running Windows, Android or iOS.
Suha Ali
Suha Ali le 19 Août 2020
Thank you so much for replying!! ;( So since there is the Bluetooth and cable difference, this mean the code required to read the signals is different?
Walter Roberson
Walter Roberson le 19 Août 2020
I do not know? Possibly. I have not seen their code.
Suha Ali
Suha Ali le 19 Août 2020
@Walter Roberson, Thank You So Much For Replying!

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Mobile dans Centre d'aide et File Exchange

Commenté :

le 19 Août 2020

Community Treasure Hunt

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

Start Hunting!

Translated by