Get ip address of a computer by the name.
ip = getip returns ip for the computer on which MATLAB is running.
ip = getip('hostname') returns ip for the 'hostname'
Cite As
Peter Volegov (2026). GETIP (https://www.mathworks.com/matlabcentral/fileexchange/2407-getip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
