Nanobots can be mind controlled to release drugs into a living organism

This article in New Scientist describes research by scientists in Israel involving nano bots which were injected into cockroaches attached to an electromagnetic coil. The bots contained drugs, and had a gate which when heated released the drug. A man wearing an EEG cap attached to the coils, switched on the coils by either doing a mental calculation or having his brain at rest.

The idea is to apply this to human brains.