Get WAN IP programmatically

A simple mat file that gets your WAN IP using WIMI's automation tool.
230 Downloads
Updated 19 Oct 2011

View License

Calling this script will get you your WAN IP. Usually when you are connected to a LAN you cannot easily/programmatically see your public IP (your IP outside your LAN). More info at: http://www.whatismyip.com/

Cite As

Vag Denaxas (2024). Get WAN IP programmatically (https://www.mathworks.com/matlabcentral/fileexchange/33376-get-wan-ip-programmatically), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

corrected some tags

1.0.0.0