Skills

Simulink Run Real Time Application

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

Install

npx skills add matlab/simulink-agentic-toolkit --skill simulink-run-real-time-application -g -a claude-code -y
Category
DevOps
Updated
6d ago
License
See repository
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

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.

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.

Read the whole SKILL.md on GitHub

More in DevOps