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
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 Center 和 MATLAB Answers 中查找有关 Oceanography and Hydrology 的更多信息
标签
致谢
启发作品: getUserName
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!