add src/genMatlabDS.m generate matlab dataset