# Simulink Run Real Time Application

Build, deploy, run, monitor, tune, and stop Simulink Real-Time applications.

- Repository: https://github.com/matlab/simulink-agentic-toolkit (1305 stars)
- Category: DevOps
- 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-run-real-time-application -g -a claude-code -y`
Codex: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-run-real-time-application -g -a codex -y`
Cursor: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-run-real-time-application -g -a cursor -y`
Gemini CLI: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-run-real-time-application -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add matlab/simulink-agentic-toolkit`

## Description

Build, deploy, run, monitor, tune, and stop Simulink Real-Time applications. Use when the user wants to build a Simulink Real-Time model, load/start/stop an `.mldatx` on a target, set stop time or start options, drive root inports/playback/parameter stimulation, inspect installed or running apps, tune parameters with `getparam`/`setparam`, read ad hoc signal values with `getsignal`, manage parameter sets, control recording, or choose between file logging, live streaming, and file-log import. Covers `slbuild`, `install`, `load`, `start`, `stop`, `setStopTime`, `tg.Stimulation`, `startRecording`/`stopRecording`, `tg.FileLog.import`, `slrealtime.exportRun`, `getparam`/`setparam`, `getsignal`, and installed app management for Speedgoat targets and Simulink Real-Time Linux devices.

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

# Running Simulink Real-Time Applications

Own the **run lifecycle** for Simulink Real-Time, build the model, install/load the
application on the target computer, start and stop it, set its stop time, drive root inports
and Playback blocks via `tg.Stimulation`, plus the first-pass runtime workflows around
parameter tuning, parameter sets, recording, file logs, and live streaming.

> **Release compatibility:** Designed and validated for MATLAB R2026a and later. Not
> recommended for earlier releases: APIs, system target files, and workflows differ.

## When to Use

- Building a model with `slbuild`; installing or loading an `.mldatx` (`install`, `load`)
- Starting (`start`, with or without options), stopping (`stop`), or setting stop time (`setStopTime`)
- Reading run state (`isLoaded`, `isRunning`)
- Driving root inports, Playback blocks, or parameter schedules via `tg.Stimulation`, including reloading data from a timeseries, Dataset, parquet file, or struct
- Reading or writing tunable parameters (`getparam`, `setparam`) or one-time signal values (`getsignal`) on a loaded or running application
- Saving, loading, importing, exporting, or selecting parameter sets
- Recording, importing file logs, exporting SDI runs, or choosing between file logging and live streaming
- Inspecting or removing installed applications (`getInstalledApplications`, `removeApplication`, `removeAllApplications`)

## When NOT to Use

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

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