# ipaddr {#ipaddr}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`ipaddr(X)`

## Arguments {#arguments}

**X** is a string scalar/vector.

## Details {#details}

Convert STRING into IPADDR \(IP address\) data type.

## Examples {#examples}

```
a=ipaddr("192.168.1.13");
a;
// output: 192.168.1.13

typestr(a);
// output: IPADDR
```

