In this paper, a digital implementation of an inverse-model based control scheme is proposed using Generalised Sampling and Hold Functions. The implementation of the controller using this kind of holds allows overcoming the difficulties related to the presence of unstable zeros in the continuous-time model and the usual appearance of unstable discretisation zeros in the discrete model when a ZOH is applied. The Generalised Sampling and Hold Functions allows obtaining a discrete model of the plant with all its zeros stable which allows realizing an exact inverse model of the plant in comparison to the use of a classical ZOH which only allows, in general, an approximate inversion of the plant. The proposed approach is then extended to the adaptive case where the stability and tracking properties of the general scheme are fully proved. Simulation examples showing the scope and application of the method are also presented.