Simulink model of the extended basal ganglia model Files: extendedBG_current.mdl Mpieclin.c Mpieclin.dll Mpieclin.mexlx Notes: Mpieclin.c is the piece-wise linear output function, compiled as an S-function (called by the Simulink model) under Windows (.dll) and Linux (.mexlx). To run on other platforms, compile Mpieclin.c first (see Simulink help). References: Humphries, M. D. & Gurney, K. N. (2002). The role of intra-thalamic and thalamocortical circuits in action selection. Network: Computation in Neural Systems, 13, 131-156.