The stability and performance of tokamak plasmas is limited by instabilities such as neoclassical tearing modes. This paper reports on an experimental proof-of-principle of a feedback control approach for real-time, autonomous suppression and stabilization of tearing modes in a tokamak. The system combines an Electron Cyclotron Emission (ECE) diagnostic for sensing of the tearing modes in the same sight-line with a steerable Electron Cyclotron Resonance Heating and Current Drive (ECRH/ECCD) antenna. A methodology for fast detection of q = m/n = 2/1 tearing modes and retrieval of their location, rotation frequency and phase is presented. Set-points to establish alignment of the ECRH/ECCD deposition location with the centre of the tearing mode are generated in real-time and forwarded in closed-loop to the steerable launcher and as a modulation pulse train to the gyrotron. Experimental results demonstrate the capability of the control system to track externally perturbed tearing modes in real-time.