Support "do" syntax for matopen