# Authoring Simulink Inputs

Synthesize new waveforms from scratch for Simulink inports using createInputDataset.

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

## Install

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

## Description

Synthesize new waveforms from scratch for Simulink inports using createInputDataset. Use ONLY when the user asks to generate, create, or synthesize signals (step, ramp, sine, chirp, pulse, noise) to populate a Dataset for External Inputs or Signal Editor. Covers timeseries and timetable formats with correct data type, interpolation, units, and dimensions. Also covers function-call and trigger inport timing setup. Do NOT use when the user wants to load, import, or read existing data from files (MAT, CSV, spreadsheet), even if that data will be used as model input. Do NOT use for running simulations or plotting outputs.

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

# Author Input Signals

Create populated input signal datasets for Simulink models using `createInputDataset` as the scaffold, then populating with meaningful waveforms while preserving all signal metadata.

## When to Use

- User asks to **generate or create synthetic waveforms** (step, ramp, sine, chirp, pulse, noise, constant) for a model's inports
- User wants to **populate a Dataset** created by `createInputDataset` with meaningful signal data
- User needs signals for **Signal Editor** scenarios
- User describes desired **input signal behavior** in natural language (e.g., "ramp from 0 to 10", "sine at 5 Hz")
- User wants **timetable-based input signals** for inports
- User needs to set up **function-call timing** or configure trigger/enable inport signals
- User wants to replace **zero-filled scaffold** data with realistic waveforms

## When NOT to Use

- User wants to **simulate** the model, **run** it, or **plot outputs**, use `simulating-simulink-models` instead. This skill only creates input data; it never runs `sim()` or produces plots.
- User wants to **load, import, or read** data from existing files (CSV, MAT, spreadsheet, .mat workspace), even if the destination is a model inport. This skill generates *new synthetic waveforms from scratch*; it does not read or convert existing recorded/measured data.

## Output

This skill produces:

1. **MATLAB code**, a local function that generates and returns the Dataset (reproducible, editable, keeps workspace clean)
2. **Dataset variable (`ds`)**, populated `Simulink.SimulationData.Dataset` in the base workspace, ready for simulation
3. **Summary**, brief description of each element: name, data type, waveform shape, and value range

To simulate with the Dataset, follow the `simulating-simulink-models` skill workflow (`SimulationInput` → `setExternalInput` → `sim`).

## Must-Follow Rules

The rest: https://github.com/matlab/simulink-agentic-toolkit/blob/HEAD/skills-catalog/simulink-simulation/authoring-simulink-inputs/SKILL.md
