Get computer name/hostname
by Manuel Marin
19 Sep 2007
(Updated 21 Sep 2007)
No BSD License
It provides the computer name where running. Useful for customizing scripts depending on the machine
Download Now
|
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(); |
| 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.
|
| Comments and Ratings (8) |
| 19 Sep 2007 |
Marcelo Perlin
|
|
|
| 19 Sep 2007 |
Manuel Marin
|
|
|
| 20 Sep 2007 |
Jos x@y.z
|
|
|
| 20 Sep 2007 |
m m
|
|
|
| 19 Jul 2008 |
AHMET ANIL D?NDAR
|
|
|
| 01 Sep 2008 |
Alex Leung
|
|
|
| 28 Jul 2009 |
Cesare
|
|
|
| 30 Jul 2009 |
Richard Crozier
|
|
|
| Updates |
| 21 Sep 2007 |
Help improved |
| 21 Sep 2007 |
Summary updated |
|
MATLAB Central Terms of Use
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.
Contact us at files@mathworks.com