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

# Decode frame for Matlab

`GET /instances/{id}/frames/{frame}/matlab`

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

## Path parameters

- `frame` number, required
- `id` string, required

## Response `200`

---

[API](https://skmtc.net/uclouvain/apis/orthanc-api.md) · [All operations](https://skmtc.net/uclouvain/apis/orthanc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uclouvain/orthanc-api/versions/9297c4930d96/schema)
