This may only work on Posix systems, but it would be nice to have. See https://github.com/Calysto/matlab_kernel/issues/5.