Get computer name/hostname
by Manuel Marin
19 Sep 2007
(Updated 21 Sep 2007)
It provides the computer name where running. Useful for customizing scripts depending on the machine
|
Watch this File
|
| File Information |
| Description |
GETCOMPUTERNAME is a very simple but useful function to get your computer name, i.e. the hostname.
Example:
> mycomputer = getComputerName(); |
| Acknowledgements |
This submission has inspired the following:
getUserName
|
| MATLAB release |
MATLAB 7.1.0 (R14SP3)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 21 Sep 2007 |
Help improved |
| 21 Sep 2007 |
Summary updated |
|
Contact us at files@mathworks.com