Get computer name/hostname
Versión 1.1.0.0 (1,26 KB) por
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();
Citar como
Manuel Marin (2026). Get computer name/hostname (https://la.mathworks.com/matlabcentral/fileexchange/16450-get-computer-name-hostname), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R14SP3
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Oceanography and Hydrology en Help Center y MATLAB Answers.
Etiquetas
Agradecimientos
Inspiración para: getUserName
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
