Get computer name/hostname

It provides the computer name where running. Useful for customizing scripts depending on the machine

Download
Download

You are now following this Submission

Cite As

Manuel Marin (2026). Get computer name/hostname (https://www.mathworks.com/matlabcentral/fileexchange/16450-get-computer-name-hostname), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: getUserName

Categories

Find more on Oceanography and Hydrology in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

As suggested by some users, insignificant whitespaces are removed.

Download
1.0.0

Summary updated

Download