Get computer name/hostname
It provides the computer name where running. Useful for customizing scripts depending on the machine
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
General Information
- Version 1.1.0 (1.22 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux