Add function for remote matlab-shell connection