# Simulink Configure Real Time Target

Manage Simulink Real-Time target computers from MATLAB, list available targets, check...

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

## Description

Manage Simulink Real-Time target computers from MATLAB, list available targets, check whether a target is connected, read its lifecycle status, add/remove/rename targets, set IP addresses and credentials, choose the default target, install TLS material, configure a startup application, and run target lifecycle ops (connect, reboot, RTOS update). Use whenever the user asks "which targets are available", "is my target connected", "what's the status of the target", "add a Speedgoat", "switch default target", "change the target IP", "reboot the box", "update the target", or works with `slrealtime.Targets`, `tg = slrealtime`, `addTarget`, `removeTarget`, `getTargetNames`, `getDefaultTargetName`, `setDefaultTargetName`, `connect`, `isConnected`, `status(tg)`, `setipaddr`, `setupTLSCertificate`, `setStartupApp`, `reboot`, `update`, or `slrealtime.testSetup`. Covers Speedgoat target computers and Simulink Real-Time Linux devices.

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

# Configuring Simulink Real-Time Targets

Manage **target computer definitions** for Simulink Real-Time, the development-computer
records that name a target and store its IP and credentials, plus the ops that act on the
target computer itself (connect, reboot, RTOS update, startup app).

> **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

- Adding, removing, or switching target computer definitions, and selecting the default (`slrealtime.Targets`, `setDefaultTargetName`)
- Setting target IP, ports, or credentials (`TargetSettings`, `setipaddr`), or target-side runtime options (`TargetOptions`, `setupTLSCertificate`)
- Connecting and verifying a target, and reading its lifecycle state (`connect`, `isConnected`, `status`, `slrealtime.testSetup`)
- Target lifecycle ops: autostart on boot (`setStartupApp`), RTOS image update (`update`), reboot (`reboot`)

## 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.

- **Model configuration**, system target file, fixed-step solver, Simulink Real-Time options → `simulink-configure-real-time-model`.
- **Application build, run, and tuning**, `slbuild`, `load(tg, app)`, `start`, `stop`, `tg.Stimulation`, `setStopTime`, `getparam`, `setparam`, `getsignal`, runtime parameters, recording, file logs, live streaming → `simulink-run-real-time-application`.
- **Signal capture**, `slrealtime.Instrument`, `addForFileLog`, `addForSDI`, `addForMATLAB` → `simulink-instrument-real-time-application`.
- **Model-level tests**, Gherkin `.feature` files, `model_test` → `testing-simulink-models`. `slrealtime.testSetup` here is a connectivity check, not a model test.
- **I/O networks on the target** (CAN, EtherCAT), application-level.

## Prerequisites

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