add: matlab file, change core part to matlab