Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Imports MAT, CSV, Excel, workspace, or Simulink simulation data into the Simulation Data Inspector via Simulink.sdi.createRun.
55% 100%+45 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 12 of 22 without it.
I have a MAT-file at `logs/flight_data.mat` containing logged signals. Provide a MATLAB command to import this file directly into the Simulation Data Inspector in a single step without manually calling load on workspace variables first.
The response uses Simulink.sdi.createRun with the 'file' source argument.
3 of 3 safety checks passed
Get data into the Simulation Data Inspector using the shortest path that works. Most agents reflexively read files into the workspace and rebuild signals by hand; this skill teaches the direct paths and when each applies.
.mat, .csv, or .xlsx file of logged data and wants to view it in SDI.sim(model) and wants to see the logged signals.timeseries, timetable, or Simulink.SimulationData.Dataset variables in the workspace and wants an SDI run.Simulink.sdi.createRun, Simulink.sdi.getAllRunIDs, or Simulink.sdi.getRun.Simulink.sdi.compareRuns).Simulink.sdi.createRunOrAddToStreamedRun), not a mode of createRun. Prompts like "stream data into SDI while my sim is running" belong to that API. Do not activate on those..mf4), ULG, ROS bag, CAN log, or HDF5 formats — see references/format-support.md for what SDI reads natively vs. what needs a different toolbox..feature files, Simulink Test cases, matlab.unittest classes, or any pass/fail assertions or regression tests for a model or subsystem — use testing-simulink-models (Gherkin-based model_test, requires Simulink Test). Prompts like "write a Gherkin test for X", "verify abs(-5) equals 5", "create a regression test for this subsystem", or any request whose deliverable is a test artifact belong there. Do not activate this skill on such prompts even when testing-simulink-models is unavailable — in that case, tell the user which skill is missing and stop.Answer these four questions in order. The first "yes" tells you what to do.
After sim(model) with signal logging enabled, SDI auto-populates one run. Do not call createRun — that produces a duplicate.
before = Simulink.sdi.getAllRunIDs;
simOut = sim("myModel");
after = Simulink.sdi.getAllRunIDs;
if numel(after) > numel(before)
Simulink.sdi.view; % done — just open the window
end
If no new run appeared, logging is off. Enable it via the Simulink Agentic Toolkit model_edit tool with a configure op setting DataLogging on the target port, then re-simulate — or fall back to Step 3 with simOut. As a last resort, ask the user to right-click a signal → Log Selected Signals in the Simulink editor themselves; that step is for the user to perform, not the agent.
Next to this one in the catalogue, plus popular skills in the same category.