Change some matlab mode setting