Remove matlab mode