Code covered by the BSD License  

Highlights from
GetMyIP - Retrieves external IP address & reverse nslookup

1.0

1.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 2.37 KB File ID: #17683

GetMyIP - Retrieves external IP address & reverse nslookup

by Yair Altman

 

23 Nov 2007 (Updated 24 Sep 2010)

Retrieves the current external IP address and reverse DNS lookup value

| Watch this File

File Information
Description

Syntax:
[ip,nslookup] = getmyip
 
Description:
IP = GETMYIP retrieves the current machine's external IP address. [IP,NSLOOKUP] also retrieves the reverse lookup (nslookup) value for the external IP found.

GETMYIP uses whatismyip.com to find the IP and name-space.com for the NSLOOKUP.
 
Limitations:
GETMYIP uses external webpages so an Internet connection is required (Duh!).
GETMYIP uses regexp, so it does not work on old Matlab versions
 
Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)

MATLAB release MATLAB 7.4 (R2007a)
Other requirements Internet connection (duh!)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
13 Jan 2011 Justin  
Please login to add a comment or rating.
Updates
24 Sep 2010

modified the URL used for the external IP based on Doug Schwarz's suggestion in http://www.mathworks.com/matlabcentral/newsreader/view_thread/292100

Tag Activity for this File
Tag Applied By Date/Time
ip Yair Altman 22 Oct 2008 09:36:34
dns Yair Altman 22 Oct 2008 09:36:34
retrieve Yair Altman 22 Oct 2008 09:36:34
external Yair Altman 22 Oct 2008 09:36:34
utilities Yair Altman 22 Oct 2008 09:36:34

Contact us at files@mathworks.com