Open- and Closed-Loop Neuromodulation with MATLAB and Simulink | g.tec medical engineering