# Simulink Configure Real Time Model

Configure a Simulink model for Simulink Real-Time code generation and deployment.

- 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-real-time-model -g -a claude-code -y`
Codex: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-real-time-model -g -a codex -y`
Cursor: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-real-time-model -g -a cursor -y`
Gemini CLI: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-real-time-model -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add matlab/simulink-agentic-toolkit`

## Description

Configure a Simulink model for Simulink Real-Time code generation and deployment. Use when setting up a model for Simulink Real-Time, selecting the correct system target file, fixing TLC/STF mismatches, applying fixed-step solver settings, validating target-platform compatibility, or configuring Simulink Real-Time build options before model build.

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

# Configure Simulink Real-Time Models

Prepare an existing Simulink model to build as a Simulink Real-Time application, configuring it consistently with the selected target platform, solver requirements, and Simulink Real-Time build options.

> **Release compatibility:** Designed and validated for MATLAB R2026a and later. Earlier releases differ in APIs, system target files, and workflows, use that release's product documentation instead.

## When to Use

- Setting up a Simulink model for Simulink Real-Time, or preparing it before `slbuild`
- Selecting or correcting the system target file (STF/TLC), including models on `grt.tlc` or `ert.tlc`
- Reviewing or setting fixed-step solver options for real-time execution while preserving the model's intended dynamics and sample-time behavior
- Configuring model parameters for a selected Speedgoat target computer or compatible Linux device, toolchain details, or Simulink Real-Time options (log level, polling mode, max file log runs, GCC `-ffast-math`)
- Handling errors about incompatible target platforms or missing target platform selection
- Running Upgrade Advisor for an older Simulink Real-Time model

## When NOT to Use

If the task crosses one of these lines, **load the named skill before writing that code**, then come back.

The rest: https://github.com/matlab/simulink-agentic-toolkit/blob/HEAD/skills-catalog/real-time-simulation-and-testing/simulink-configure-real-time-model/SKILL.md
