All authors

Claude Skills by matlab
github.com/matlab247 skills8 installs999 views
- Simulink Customize A2lCustomize A2L (ASAP2) files generated from Simulink models using coder.asap2 and coder.mapping APIs. Use this skill when adding COMPU_METHODs, creating GROUPs, converting STD_AXIS to COM_AXIS, adding BIT_OPERATIONs, creating VARIANT_CODING, excluding measurements or struct elements, removing DEFAULT_EVENT_LIST, or any A2L customization for calibration tool compatibility (INCA, CANape). Also use when the user mentions ASAP2, ECU calibration data, A2L export.Votes: 0GitHub stars: 1,443
- Simulink Explain Missing CoverageUse this skill when the user asks to summarize, or asks why Simulink Coverage objectives are missing, unsatisfied, or uncovered on a coverage result they already have — why specific decision, condition, MCDC, relational-boundary, or saturation/overflow outcomes weren't exercised, whether uncovered logic is dead code, or how to close the gap (a test, a coverage filter, or a design change). It reads an existing cvdata, .cvt file, sim-with-coverage output, or Simulink Test result; it never runs ...Votes: 0GitHub stars: 1,443
- Simulink Author Classic Autosar SwcUse this skill when authoring, reworking, or validating a Classic AUTOSAR software component (SWC) in Simulink, including autosar.api mappings, runnables, timing events, sender-receiver ports, client-server operations, IRVs, BSW service callers, and component ARXML updates.Votes: 0GitHub stars: 1,443
- Simulink Configure Code InterfacesUse the skill to control and verify the code interface configuration of your model — how Simulink® model elements are represented in the generated C or C++ code.Votes: 0GitHub stars: 1,443
- Simulink Configure Model For Code GenerationConfigure Simulink models for Embedded Coder (ERT), Simulink Coder (GRT rapid-prototyping), or AUTOSAR code generation. Use when the user asks to generate embedded C or C++ code, run a full build of a model, produce a code generation report, configure a model for production/ECU deployment or rapid-prototyping code, target ARM or x86 hardware, apply a MISRA C/C++ code-generation profile (ERT/AUTOSAR only, not GRT), or set up GRT, ERT, AUTOSAR, or shared-library targets. Handles target selectio...Votes: 0GitHub stars: 1,443
- Simulink Sanitize ModelSanitize and anonymize a Simulink model for external sharing. Use when stripping proprietary content, anonymizing block/signal names, removing metadata, or creating a shareable reproduction model for bug reports. Do NOT use for simply copying or sharing a model internally.Votes: 0GitHub stars: 1,443
- Simulink Run Parallel SimulationsUse this skill to run multiple Simulink simulations in parallel with parsim, batchsim, and DesignStudy. TRIGGER when: user asks for parameter sweep, sweeping/varying parameters across simulations, Monte Carlo study, batch simulation, running multiple simulations, parallel simulations, large-scale multiple simulations, any task involving repeated simulations with different parameter values, user mentions having an existing script/function for parameter sweeps, or user wants to migrate from par...Votes: 0GitHub stars: 1,443
- Simulink Configure Real Time ModelConfigure a Simulink model for Simulink Real-Time code generation and deployment. Use when setting up a model for Simulink Real-Time, selecting the correct system target file, fixing TLC/STF mismatches, applying fixed-step solver settings, validating target-platform compatibility, or configuring Simulink Real-Time build options before model build.Votes: 0GitHub stars: 1,443
- Simulink Configure Real Time TargetManage 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 de...Votes: 0GitHub stars: 1,443
- Simulink Instrument Real Time ApplicationSet up signal capture for a Simulink Real-Time application using `slrealtime.Instrument`. Use when choosing which signals a real-time application captures and where the data goes — test-pointing or canvas-badging a signal before build (`TestPoint`, `DataLogging`), constructing an Instrument from an `.mldatx`, calling `addSignal`, `addInstrumentedSignals`, `addFileLogSignals`, `validate`, `connectCallback`, `copy`, or `generateScript`, attaching an instrument to `tg.Instruments` via `addForFil...Votes: 0GitHub stars: 1,443
- Simulink Run Real Time ApplicationBuild, 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. ...Votes: 0GitHub stars: 1,443
- Simulink Create Block IconCreate and register Simulink block icons programmatically. Use when asked to create an icon, generate a block icon, design an SVG icon for a Simulink block, register an icon, or help with IconEditor features like visibility conditions, layout constraints, parts, port labels, dynamic text, or block frame shapes (e.g. a round or capsule outline).Votes: 0GitHub stars: 1,443
- Simulink Check Rapid Accelerator CompatibilityStatically analyze a Simulink model for Rapid Accelerator (raccel) mode incompatibilities. Identifies unsupported blocks (Interpreted MATLAB Function, Level-2 S-Functions without TLC), configuration issues, and data type restrictions that prevent code generation. Classifies each issue as BLOCKER (build error) or WARNING (build warning). Use BEFORE calling sim() in rapid-accelerator mode, when buildRapidAcceleratorTarget fails, or when the user asks "why won't my model run in raccel?" TRIGGER:...Votes: 0GitHub stars: 1,443
- Simulink Collect MetricsCollect and assess quality metrics for Simulink models using the metric.Engine API. Use when evaluating model design quality (maintainability, complexity, architecture) or testing completeness (unit testing, SIL, PIL, coverage, pass rates) after edits or test runs. Covers metric discovery, collection, report generation, and diagnostics. Triggers on: "collect metrics", "quality metrics", "metric.Engine", "testing metrics", "maintainability metrics", "SIL metrics", "PIL metrics", "what metrics ...Votes: 0GitHub stars: 1,443
- Simulink Compose Multi Vehicle SystemUse this skill to build or configure a multi-vehicle aerospace simulation in Simulink with Aerospace Blockset system-level actor models and mission planning functions: fleet simulations, multi-UAV missions, formation flights, search and rescue missions, coordinated aircraft and ship scenarios, or any model where several vehicles share one scene. Also use it to plan a mission or generate trajectories with Aero.trajectory functions (waypoints, search patterns, loiters, transits) or to configure...Votes: 0GitHub stars: 1,443
- Simulink Integrate Python CodeUse this skill when running or integrating general Python code (functions, classes, libraries) inside a Simulink model with the Python Code block (R2025a+). Not for trained neural-network models (.pt, .onnx, .h5) or deep-learning inference; use the Deep Learning Toolbox Model Predict blocks or network importers. Covers the SymbolSpec API, data-type mapping, persistent state, shared interpreter, venvs, and module reloading. Triggers: "Python Code block", "Python in Simulink", "integrate Python...Votes: 0GitHub stars: 1,443
- Stateflow Apply LayoutUse when a Stateflow diagram needs arranging — after adding states, transitions, or junctions through the Stateflow API has left elements overlapping, or when someone opens an existing chart, subchart state, box or function, atomic subchart, or atomic box and wants a messy diagram cleaned up, organized, reorganized, or tidied with no edit involved. Also use when a user names applySFAutolayout directly.Votes: 0GitHub stars: 1,443
- Simscape Diagnose Simulation ErrorTriage Simscape simulation errors and solver warnings and dispatch to the appropriate diagnostic surface. Covers transient/runtime failures — min step size violations (stiffness, parasitics, event-time), transient initialization failures, and index reduction (\"Cannot solve for one or more variables\"), including errors that appear only with run-time parameters. Use whenever a Simscape model fails to simulate or warns while simulating, even if the user doesn't quote the message and it only sh...Votes: 0GitHub stars: 1,443
- Simulink Model Rf SystemPhysics-based RF system simulation in Simulink with RF Blockset Circuit Envelope and Idealized Baseband, capturing multi-carrier interactions, impedance mismatch, and nonlinear mixing products that behavioral models miss. Export an rfbudget chain or measured S-parameters to a model, add impairments (noise, nonlinearity, phase noise, IQ mismatch) one at a time, verify each with Harmonic Balance testbenches and non-loading power taps, then drive with 5G/LTE/WLAN waveforms for EVM/ACLR/BER. Use ...Votes: 0GitHub stars: 1,443
- Simulink Code Inspector Check CompatibilityUse when you need to verify a Simulink model is compatible with SLCI code inspection, or to apply fixes for identified incompatibilities. Checks model configuration, identifies incompatibilities, and explains why each constraint is required for verification. Also invoked by simulink-code-inspector-trace-inspection-failure to fix constraints and obtain compatibility results. Trigger keywords: checkCompatibility, SLCI compatibility, code inspection readiness, Model Advisor compatibility report.Votes: 0GitHub stars: 1,443
- Simulink Code Inspector Trace Inspection FailureUse when SLCI code inspection has failed due to compatibility issues and you need to diagnose the incompatibilities. Traces inspection failures back to root-cause incompatibility settings or known limitations by matching failed code lines against known incorrect code generation patterns and documented limitation scenarios. Hands off to simulink-code-inspector-check-compatibility for fixes. Trigger keywords: inspect, inspection failed, trace inspection errors, why did inspection fail, SLCI ver...Votes: 0GitHub stars: 1,443
- Simulink Convert To Single PrecisionConverts a double-precision Simulink system or subsystem to single precision using DataTypeWorkflow.Single (Fixed-Point Designer). The single conversion replaces all user-specified double-precision data types, as well as output data types that compile to double precision, with single-precision data types. Use this skill when converting Simulink systems to single precision, reducing memory usage of a Simulink system, optimizing for embedded targets. Do NOT use for standalone MATLAB .m code sin...Votes: 0GitHub stars: 1,443
- Simulink Optimize Embedded CodeRoutes Embedded Coder workflows for Simulink models. Use when asked to optimize or improve generated code, reduce code metrics, author Code Replacement Libraries, or improve Embedded Coder output. Targets: execution time, memory (RAM, ROM, stack), code size, MISRA compliance. Works iteratively with measurement, gating, and rollback. Triggers: optimize generated code, reduce runtime, shrink code size, improve code efficiency, reduce memory, speed up generated code, MISRA compliance, author CRL...Votes: 0GitHub stars: 1,443
- Polyspace Analyze Generated CodeUse this skill to check the code generated from a Simulink model with Polyspace Bug Finder or Code Prover (model-link analysis), tracing each finding to its block. Use when asked to check the generated code or Embedded Coder output with Polyspace; check the robustness of the generated code; find overflows, divisions by zero, out-of-bounds accesses, or other defects and run-time errors in it; prove it free of run-time errors; check it for MISRA C, MISRA C++, CERT C/C++, CWE, or AUTOSAR C++14; ...Votes: 0GitHub stars: 1,443
- Polyspace Justify Generated Code FindingsUse this skill to record Polyspace review decisions (status Justified or Not a defect, with a rationale) for Bug Finder or Code Prover findings in C/C++ code generated from a Simulink model: as a Polyspace annotation on the block the finding traces to, or as a comment in the model-link results database when there is no block. Use when asked to justify, suppress, accept, deviate, or mark as a false positive a MISRA C, MISRA C++, CERT C/C++, CWE, AUTOSAR C++14, defect, or run-time check finding...Votes: 0GitHub stars: 1,443
- Polyspace Review Generated Code FindingsUse this skill to read, prioritize, and explain existing Polyspace Bug Finder or Code Prover results for C/C++ code generated from a Simulink model, and trace each finding to its Simulink block. Use when asked to show, list, or explain defects, MISRA C, MISRA C++, CERT C/C++, CWE, or AUTOSAR C++14 violations, run-time errors, or red, orange, or gray Code Prover checks; to decide whether a finding should be fixed or justified, and which model or configuration change fixes it; to compare two an...Votes: 0GitHub stars: 1,443
- Simulink Design Motor ControlBuild motor control solutions using Motor Control Blockset for PMSM, induction motors, BLDC, and SynRM. Implement field oriented control, sensorless FOC, six-step control, speed control, current control, and torque control. Configure SVPWM, flux weakening, MTPA, MTPV, control of non-linear motors, inverter control, and motor parameter estimation. Compose motor drive models, tune gains, and generate embedded code.Votes: 0GitHub stars: 1,443
- Simulink Estimate Frequency ResponseEstimate frequency response from Simulink models using frestimate. Use when frequency response should be obtained from simulation rather than model linearization.Votes: 0GitHub stars: 1,443
- Simulink Linearize ModelLinearize Simulink models. Use when obtaining linear time invariant or linear parameter varying models from Simulink models.Votes: 0GitHub stars: 1,443
- Generate Mbd Algorithm SpecificationSpecify algorithms for Model-Based Design: system specs, architecture specs, implementation plans, test plans. Use when creating specifications for controllers, signal processing, diagnostics, estimators, or other algorithms authored in Simulink, Stateflow, System Composer, or MATLAB Function blocks.Votes: 0GitHub stars: 1,443
- Generate Plant Model SpecificationSpecify plant models for closed-loop simulation: system specs, architecture, build plans, validation plans. Use when creating, updating, or reviewing plant model specifications, planning plant model architecture, or planning plant model validation.Votes: 0GitHub stars: 1,443
- Simulink Arrange Model LayoutArranges Simulink block diagram layout to improve readability using the model_edit layout engine. Use when the user asks to fix, clean up, tidy, straighten, or rearrange a layout, or to run Simulink's Auto Arrange, when blocks overlap or lines cross, when specific blocks need repositioning, or when grouping blocks into or expanding a subsystem.Votes: 0GitHub stars: 1,443
- Simulink Build ModelBuilds and edits Simulink, System Composer, Stateflow, and Simscape models. Use when modifying model structure, parameters, ports, connections, or Stateflow chart internals.Votes: 0GitHub stars: 1,443
- Simulink Curate Library Knowledge GraphUse this skill when the user wants to curate the SATK library knowledge index for a Simulink project — correct auto-assigned block categories, or improve block descriptions so the model-building agent picks better blocks from custom libraries. Triggered by phrases like "improve block descriptions", "correct block category", "make the agent prefer certain blocks", and from Gate 3 of simulink-build-model.Votes: 0GitHub stars: 1,443
- Simulink Draft RequirementsGenerates draft requirements from Simulink models. Use when drafting or updating requirement artifacts from a model. Prefers Requirements Toolbox (.slreqx) when available; falls back to structured YAML.Votes: 0GitHub stars: 1,443
- Simulink File Toolkit Bug ReportGenerate a standalone bug report that another developer can use to reproduce, investigate, and fix an issue. Use when the user says 'file a bug', 'write a bug report', 'report this issue', or asks to document a defect for handoff.Votes: 0GitHub stars: 1,443
- Simulink Manage ProjectManages MATLAB projects for Simulink workflows: path management, file registration, labels, source control configuration, and project lifecycle. Use when creating projects, adding models/dictionaries/requirements to projects, configuring labels for automation, fixing broken model references, or setting up source control for Simulink artifacts.Votes: 0GitHub stars: 1,443
- Simulink Setup Custom LibrariesRegister, add, or update existing custom Simulink block libraries and configure block policy and knowledge index. Use when a user wants to register, set up, configure, or add existing .slx library files for agent-assisted model building. Do NOT use when the user wants to create or author a new library from scratch — that requires simulink-build-model.Votes: 0GitHub stars: 1,443
- Simulink Simulate ModelConfigures Simulink simulations non-destructively using SimulationInput objects — parameter overrides without modifying the model, batch sweeps via parsim, custom input signals via Dataset, and simulation data retrieval via logsout. Use when running sim()/parsim() with setVariable, setBlockParameter, setExternalInput, or when performing parameter sweeps and multi-run analysis. Not needed for one-shot simulations without configuration.Votes: 0GitHub stars: 1,443
- Simulink Manage Variant ConfigurationsManage Simulink Variant Manager and Variant Configurations workflows — examine, list, and explore variant configurations, variant control variables, and variant model structure; create, modify, and delete variant configurations; validate variant constraints; generate valid variant configurations; apply, activate, or update models with variant configurations; compare variant configurations and analyze which blocks are active or different; open or close the Variant Manager UI; set up non-intrus...Votes: 0GitHub stars: 1,443
- System Composer Author Software ArchitectureBuild System Composer software architecture models with functions, service interfaces, and client/server ports. Use when creating a SoftwareArchitecture model type, adding execution entry points (functions) to components, defining service interface contracts, connecting client/server ports, modeling SOA patterns, or creating Simulink behavior for software components and editing the Bus Element blocks of the generated behavior models, or renaming client/server ports, function elements, and beh...Votes: 0GitHub stars: 1,443
- System Composer Build Architecture ModelBuild and refine multi-layer (functional/logical/physical) system architecture models with System Composer. Use when building or restructuring architecture models, or when working with interface dictionaries and port interfaces (including composite boundary ports), stereotypes and profiles, architecture views, sequence diagrams, allocation sets, roll-up analysis, or requirements traceability for architecture components.Votes: 0GitHub stars: 1,443
- Simscape Write Language CodeUse when writing or editing Simscape Language (.ssc) source files — components, domains, or functions. Triggers include: model a physical component in .ssc; write physical equations for a Simscape block; add or modify physics or parameterization options in a Simscape component; build a composite component. Also use for validating .ssc syntax, fixing Simscape Language errors, or converting governing equations into working Simscape component code. Do NOT use for configuring or connecting existi...Votes: 0GitHub stars: 1,443
- Simulink Build Streaming Dsp ModelBuilding or editing Simulink (.slx) models that stream signals in frames using DSP System Toolbox — audio, vibration, radar, comms. Use when the prompt names a Simulink block (Discrete FIR Filter, Buffer, Unbuffer, Rate Transition, Downsample, Upsample, Sample-Rate Converter, FIR Decimation, Time Scope, Spectrum Analyzer, From Multimedia File) or an action (frame-based processing, InputProcessing, buffering, overlap, windowing, STFT, short-time Fourier, decimate, downsample, upsample, resampl...Votes: 0GitHub stars: 1,443
- Simulink Find Example ModelFind, show, open, or identify shipped MathWorks example models that demonstrate a concept, block, or application domain, and return the command to open them.Votes: 0GitHub stars: 1,443
- Simulink Configure C Function BlockUse when integrating legacy code, custom code, or C/C++ code into Simulink via C Function blocks. Configure Simulink C Function blocks programmatically using the SymbolSpec API. TRIGGER when the user: - Asks about calling or wrapping C/C++ code or libraries in Simulink - Wants to create, configure, or use a C Function block - Mentions integrating custom code, legacy code, or external C/C++ into a model - Asks to integrate a C++ class into a Simulink model or test bench - Mentions inputs/outpu...Votes: 0GitHub stars: 1,443
- Simulink Import Data Into Data DictionaryImport data from JSON, Excel, CSV, or XML files, or other text files whose structure the user describes, into a Simulink Data Dictionary (SLDD), routing entries to Design Data or Architecture Data, and optionally attach the imported dictionary to a model. Helps choose code generation settings for dictionary entries: storage classes (Design Data), DataScope/HeaderFile (Architecture Data types), or MappedTo/Identifier (Architecture Data constants). Use when the user wants to import parameters, ...Votes: 0GitHub stars: 1,443
- Simulink Author Input SignalsSynthesize 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...Votes: 0GitHub stars: 1,443
- Simulink Create Data Inspector RunImport data into the Simulation Data Inspector (SDI) from MAT, CSV, or Excel files, from workspace variables, or from a Simulink simulation. Use when the user wants to view a logged file in SDI, load a bench-test log, or verify what a just-completed `Simulink.sdi.createRun` or `sim(model)` produced. Covers the `'file'`, `'vars'`, and `'namevalue'` sources of `createRun`, the auto-populate behavior after `sim()`, and post-import verification. Not for comparing existing runs (use `Simulink.sdi....Votes: 0GitHub stars: 1,443
- Design Verifier Fix IncompatibilityUse when a Simulink model is incompatible with Simulink Design Verifier (sldvcompat returns false, or an SLDV analysis errors out on an unsupported construct) and needs to be made analyzable. Diagnoses the incompatibility, applies the matching fix to a copy, and confirms the copy is compatible; optionally raises confidence the fix preserved behavior via a back-to-back consistency replay (agreement on the generated tests, not a proof of equivalence). Do NOT use for running test generation, des...Votes: 0GitHub stars: 1,443