Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates synthetic Simulink inport waveforms via createInputDataset, covering timeseries/timetable and function-call/trigger timing.
27% 86%+59 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 6 of 22 without it.
For 'SuspensionModel', I need an input dataset where inport 'RoadProfile' is a ramp rising from 0 to 0.05 m over 4 seconds, combined with Gaussian noise (std dev 0.002 m). Provide the local function code to produce the Dataset.
Calls createInputDataset once to generate the base dataset.
3 of 3 safety checks passed
Create populated input signal datasets for Simulink models using createInputDataset as the scaffold, then populating with meaningful waveforms while preserving all signal metadata.
createInputDataset with meaningful signal datasimulating-simulink-models instead. This skill only creates input data; it never runs sim() or produces plots.This skill produces:
ds) — populated Simulink.SimulationData.Dataset in the base workspace, ready for simulationTo simulate with the Dataset, follow the simulating-simulink-models skill workflow (SimulationInput → setExternalInput → sim).
createInputDataset — call it exactly once — never build a Dataset from scratch. Call createInputDataset once per model (it triggers update diagram). For multiple datasets, clone the returned scaffold in a loop rather than calling createInputDataset againorigEl.DataInfo.Interpolation and origEl.DataInfo.Units. For timetables, copy origEl.Properties.VariableContinuity. Omitting these is a bugds{k} = ts. For timetable: ds = ds.setElement(k, tt, origEl.Properties.Description) — never use addElementcast(data, 'like', origEl.Data) to match any scaffold type (double, single, integer, fixed-point). For boolean inports use true(size(t)) directlyInterpolate property — preserve it unless the signal nature demands otherwisesimIn/simOut if simulating). All intermediate variables (t, dt, origEl, ts, signalData, k) must stay inside function scopeclear, clearvars, clear all, or bdclose all. The user may have existing variables, models, or figures open. Only add to the workspace, never remove from itNext to this one in the catalogue, plus more from the same author.