The invention relates to an Emotiv brain-controlled unmanned aerial vehicle 
system and method based on VC++ and 
Matlab mixed programming. The 
system comprises an Emotiv electroencephalogram 
signal acquisition module (1), a 
Matlab electroencephalogram 
signal online analysis module (2) and an unmanned aerial vehicle flight control module (3), wherein the Emotiv electroencephalogram 
signal acquisition module (1) is VC++ acquisition 
software for acquiring an electroencephalogram signal for controlling an unmanned aerial vehicle by a tested person, and transmitting the electroencephalogram signal to a computer; the acquisition 
software is used for transmitting the electroencephalogram signal to the 
Matlab electroencephalogram signal 
online analysis module (2) through adopting a TCP / IP (
Transmission Control Protocol / 
Internet Protocol); the acquired electroencephalogram signal is subjected to pre-
processing, characteristic extraction and classification, and effective components in the signal are analyzed and are converted into a control command; the control command is sent to the unmanned aerial vehicle flight control module (3) through a 
wireless serial port manner; after the control command is received, launching, landing, leftward flight and rightward 
flight operations are carried out. The Emotiv brain-controlled unmanned aerial vehicle 
system and method are realized by adopting the VC++ and Matlab 
mixed programming; a 
pattern recognition method and actual hardware equipment and 
software application, which can be conveniently embedded into a brain-computer interface, lay a foundation for 
online analysis and actual application of the brain-computer interface.