ThinkGear Load Library Problem

I am using MATLAB E2019b. Few days ago, I downloaded the example code (readRAW.m)and the library (Thinkgear.dll and thinkgear.h) from the neurosky official website.Then, I put these two library files into the same directory as the example code (readRAW.m). But I got the following error when I execute the code:
Error using loadlibrary
No supported compiler was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64
Compiler. For more options, visit https://www.mathworks.com/support/compilers.
Error in loadlibrary
Error in readRAW (line 30)
loadlibrary('thinkgear64.dll','thinkgear64.h');

回答(1 个)

Bhargavi Maganuru
Bhargavi Maganuru 2020-2-19

0 个投票

To use loadlibrary function, you should have a supported C compiler and Perl. You can refer this link to install supported compiler.

类别

帮助中心File Exchange 中查找有关 C Shared Library Integration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by