matlab wrapper of gdma