Added workaround for annoying output that R2011b produces when called from terminal