Get computer name/hostname

版本 1.1.0.0 (1.3 KB) 作者: Manuel Marin
It provides the computer name where running. Useful for customizing scripts depending on the machine
4.2K 次下载
更新时间 2013/12/12

查看许可证

GETCOMPUTERNAME is a very simple but useful function to get your computer name, i.e. the hostname.

Example:

> mycomputer = getComputerName();

引用格式

Manuel Marin (2024). Get computer name/hostname (https://www.mathworks.com/matlabcentral/fileexchange/16450-get-computer-name-hostname), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Oceanography and Hydrology 的更多信息
致谢

启发作品: getUserName

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

As suggested by some users, insignificant whitespaces are removed.

1.0.0.0

Summary updated