begin compile with matlab and debug