ipaddr
Syntax
ipaddr(X)
Arguments
X is a string scalar/vector.
Details
Convert STRING into IPADDR (IP address) data type.
Examples
a=ipaddr("192.168.1.13");
a;
// output
192.168.1.13
typestr(a);
// output
IPADDR
ipaddr(X)
X is a string scalar/vector.
Convert STRING into IPADDR (IP address) data type.
a=ipaddr("192.168.1.13");
a;
// output
192.168.1.13
typestr(a);
// output
IPADDR