A gaussian copula based procedure for generating samples from discrete random variables with prescribed correlation matrix and marginal distributions.