function n = hostname() try n = char(py.socket.gethostname()); catch e pythonException(e) n = ''; end end
Published with MATLAB® R2025b