---
title: "Decode frame for Matlab"
method: GET
path: "/instances/{id}/matlab"
tags: ["Instances"]
---

# Decode frame for Matlab

`GET /instances/{id}/matlab`

Decode the first frame of the given DICOM instance., and export this frame as a Octave/Matlab matrix to be imported with `eval()`: https://book.orthanc-server.com/faq/matlab.html

## Path parameters

- `id` string, required

## Response `200`

---

[API](https://skmtc.net/orthancserver/apis/orthanc-server.md) · [All operations](https://skmtc.net/orthancserver/apis/orthanc-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orthancserver/orthanc-server/revisions/af646f6f871b/schema)
