# ChannelMetadata

## class nominal.ChannelMetadata

A channel’s units, description, and data type.

The catalog side of a channel. nominal.Channel is the streaming side,
where points are written.

```matlab
m = ds.channelMetadata("rpm");
m.Unit
```

```matlab
ds.setChannelMetadata("rpm", "double", Unit="1/min");
```

Metadata is per dataset. Setting a unit on “rpm” in one dataset does
not set it on “rpm” in another.

> **See also**
>
> [`nominal.Dataset`](https://dev.nominal.io/matlab/ref/Dataset.md#nominal.Dataset "nominal.Dataset"), [`nominal.Channel`](https://dev.nominal.io/matlab/ref/Channel.md#nominal.Channel "nominal.Channel")

Constructor Summary

Property Summary
:   ### Name

    Channel name.

    ### Unit

    UCUM unit symbol, or “” if unset.

    ### Description

    Description, or “” if unset.

    ### DataType

    “double”, “string”, “int”, and so on.

    ### DatasourceRid

    RID of the dataset this channel belongs to.
