added the mex command to the main.m file