# Simulink Configure Code Interfaces

Use the skill to control and verify the code interface configuration of your model, ...

- Repository: https://github.com/matlab/simulink-agentic-toolkit (1305 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -g -a claude-code -y`
Codex: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -g -a codex -y`
Cursor: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -g -a cursor -y`
Gemini CLI: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add matlab/simulink-agentic-toolkit`

## Description

Use the skill to control and verify the code interface configuration of your model, how Simulink® model elements are represented in the generated C or C++ code. This includes, (1) specifying names, types (storage classes), and placement of variables that represent model elements (for example, making a model parameter tunable as a global extern variable); (2) specifying names, types, and placement of functions that represent model algorithms; (3) selecting the deployment type (Component, Subcomponent, or Automatic); (4) selecting the interface configuration type (data or service interface); (5) linking a shared Embedded Coder dictionary to a model; (6) creating Embedded Coder dictionary entries and setting their properties; (7) for service interface configuration, specifying service interface definitions, including sender, receiver, client, and server services. Items 1 and 2 can be set per element or as a category-wide default. Item 1 applies to GRT and ERT models; the rest to ERT models only.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Configuring Code Interfaces

Configure how model elements map to generated code, storage classes for elements in models configured with data interface configuration, and service interfaces for elements in models configured with service interface configuration.

**Prerequisite:** For full functionality of the skill (such as function mapping, specifying the deployment type, and using service interface configuration),
the model needs to be configured with the ERT system target file (`SystemTargetFile = "ert.tlc"`, or an ERT-based derivative such as `ert_shrlib.tlc` or a vendor ERT target). When the model is configured with the GRT system
target file (`SystemTargetFile = "grt.tlc"`), only basic configuration operations such as specifying the storage class of model elements are supported. To configure the model with the ERT system target file, use the neighboring skill `simulink-configure-model-for-code-generation`.

**Requires:**
- For models configured with the GRT system target file, a Simulink® Coder license is required.
- For models configured with the ERT system target file, an Embedded Coder® license is required.

## When to Use

The rest: https://github.com/matlab/simulink-agentic-toolkit/blob/HEAD/skills-catalog/code-generation/simulink-configure-code-interfaces/SKILL.md
