function ip = get_ip(void)
% GET_IP: Return current machine IP address.
%
%
%    GENERAL
%
%      ip = get_ip(void)
%
%    INPUT/S
%
%      -void:
%           Unused.
%
%    OUTPUT/S
%
%      -year:
%           The requested string
%
%    PENDING WORK
%
%      -
%
%    KNOWN BUG/S
%
%      -None.
%
%    COMMENT/S
%
%      -
%
%    RELATED FUNCTION/S
%
%      
%
%    ABOUT
%
%      -Created:     February 19th, 2004
%      -Last update: February 19th, 2004
%      -Revision:    0.0.1
%      -Author:      R. S. Schestowitz, University of Manchester
% ==============================================================

% [dummy, ip] = unix('ipconfig -a | awk ''/inet/ {print $2}'' | sed ''s/^addr://g'' \ | fgrep -vx 127.0.0.1 | head -1');
