Removed Matlab portion of compile function