This function reports the name of computer on which Matlab is currently running, and works under multiple operating systems.
Phillip M. Feldman (2022). hostname.m (https://www.mathworks.com/matlabcentral/fileexchange/24096-hostname-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!