Get WAN IP programmatically

A simple mat file that gets your WAN IP using WIMI's automation tool.

You are now following this Submission

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 (2026). Get WAN IP programmatically (https://www.mathworks.com/matlabcentral/fileexchange/33376-get-wan-ip-programmatically), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

corrected some tags

1.0.0.0