added matlab file and define file