Problem in Interfacing MindWave- NeuroSky
1 view (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 9 Mar 2019
There is a potential 64 bit version of the DLL at https://github.com/webdesigniran/MindWaveReader/tree/master/MindWaveReaderWPF
Answers (2)
Aylin
on 1 Jun 2017
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 Comments
Walter Roberson
on 5 Jun 2017
Odd that the same source code would call upon thinkgear.dll and thinkgear64.dll
Suha Ali
on 18 Aug 2020
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 Comments
See Also
Categories
Find more on MATLAB Compiler SDK 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!