Fixed matlab redirects