# Nominal for MATLAB

Get data into and out of [Nominal](https://nominal.io) from MATLAB.

To stream from a running Simulink model, see [Nominal for Simulink](https://dev.nominal.io/matlab/simulink/).

```matlab
c  = nominal.Client.fromProfile();
a  = c.getOrCreateAsset("<asset name>");
ds = a.getOrCreateDataset("<dataset name>");

ds.write(["<channel 1>" "<channel 2>"], t, V);   % one column of V per channel
tt = ds.fetch("<channel 1>", t0, t1);            % a timetable
```

Quickstart

Install the toolbox, connect, write a matrix, read it back.

[Quickstart](https://dev.nominal.io/matlab/quickstart.md)

Getting data in

Matrices, CSV and Parquet files, live streams, units, runs, events.

[Getting data in](https://dev.nominal.io/matlab/guides/data-in.md)

Getting data out

Search, fetch a timetable, export a file, run SQL.

[Getting data out](https://dev.nominal.io/matlab/guides/data-out.md)

Reference

Every class and method, from the same help text MATLAB shows.

[Reference](https://dev.nominal.io/matlab/ref.md)

Examples

Runnable demos that ship inside the toolbox.

[Examples](https://dev.nominal.io/matlab/examples.md)

All Nominal docs

Every language and product.

<https://nominal-io.github.io/pub-docs/>

Building the toolbox from source is covered in the repository’s
[BUILDING.md](https://github.com/nominal-io/matlab-client-rs/blob/main/BUILDING.md).
