1) You need to first compile the .c files,type >> compileAll('.'); 2) the top level function is called MNcut.m