MAGIC – an open source MATLAB toolbox for external control of TMS devices 31 Dec 2018 We have designed and published an open source Matlab toolbox for the external control of MagVenture and MagStim TMS devices via the serial port. Please check it out and give us feedback if there are any problems: Paper: Habibollahi Saatlou FH, Rogasch NC, McNair NA, Biabani M, Pillen SD, Marshall TR, Bergmann TO. (2018) MAGIC: an open-source MATLAB toolbox for external control of transcranial magnetic stimulation devices, Brain Stimulation, doi: 10.1016/j.brs.2018.05.015. Preprint: https://www.preprints.org/manuscript/201805.0057/v1 Toolbox Code: https://github.com/nigelrogasch/MAGIC/releases Toolbox Wiki: https://github.com/nigelrogasch/MAGIC/wiki