mcpbeat Sign in

Managing Simulink Projects Agent Skill

>- 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.

4k tokens
context cost
the whole folder, loaded on every use
7
files
instructions only
0
copies elsewhere
how many repositories repackaged it
900
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/matlab/simulink-agentic-toolkit --skill managing-simulink-projects

The instruction itself

7 sections, as written by the author

MATLAB projects coordinate Simulink workflows — they manage the MATLAB path (which Simulink uses to resolve model references, data dictionaries, and requirements), track file membership for source control, and provide label-based automation for selecting targets in CI/CD pipelines.

When to Use

  • Creating a new MATLAB project for Simulink models
  • Adding models, data dictionaries, or requirements to an existing project
  • Configuring project paths so Simulink can resolve references
  • Setting up labels for automation (test selection, code generation targets)
  • Configuring source control and cache folders
  • Diagnosing broken model references, missing dictionaries, or failing project health checks

When NOT to Use

  • Building or editing model structure (blocks, connections) → use building-simulink-models
  • Writing or running tests → use testing-simulink-models
  • Drafting requirements content → use generate-requirement-drafts
  • Running simulations for analysis → use simulating-simulink-models

Mental Model

Four principles that prevent the most common failures:

  • Registration ≠ path. addFile registers a file with the project for source control tracking. addPath puts a folder on the MATLAB path so Simulink can resolve artifacts by filename. These are independent operations — you almost always need both.
  • Filename-only resolution. Data dictionaries (set_param(...,'DataDictionary',...), addDataSource), model references, and requirements all resolve via MATLAB path using filename only — never full paths. The containing folder must be on the project path.
  • addPath is not recursive. Each subfolder containing resolvable artifacts needs its own addPath call.
  • Single-project constraint. Only one project can be open at a time. Creating or opening a new project silently closes the current one (running its shutdown scripts). currentProject throws an error when no project is open — it does not return empty.

Guardrails

Always:

  • Use addPath(proj, folder) for every folder containing dictionaries, referenced models, requirements, or profiles
  • Pass filename only (not full paths) to addDataSource, set_param(...,'DataDictionary',...), and slreq.createLink
  • Use absolute paths for SimulinkCacheFolder and SimulinkCodeGenFolder: proj.SimulinkCacheFolder = fullfile(proj.RootFolder, 'work')
  • Call updateDependencies(proj) before querying proj.Dependencies
  • Close the current project before creating or opening another
  • Use .graphml extension for DependencyCacheFile
  • Use .gitignore for excluding derived files from source control
  • Add requirements folder to project path when linking requirements to models
  • Register .slmx link-store files with the project (guarded by isfile check)

Ask First:

  • Deleting files from a project (removeFile then disk delete)
  • Modifying startup/shutdown scripts (affects all users who open the project)
  • Changing project references (affects dependent projects)

Never:

  • Use proj.IgnoredFilePatterns — throws "Feature not supported" for all project types from createProject
  • Use cat.Labels — the correct property is cat.LabelDefinitions
  • Use 'string' as a label DataType — valid types are 'none', 'char', 'double', 'integer', 'logical'
  • Use findFile (singular) for label queries in R2024a+ — use findFiles (plural). ONLY use findFile with R2023a/b
  • Pass full file paths to filename-only APIs
  • Attempt to open two projects simultaneously
  • Use clear all in startup scripts — it wipes the proj variable

Task Routing

| Intent | Reference |

|--------|-----------|

| Add files/folders to project, manage project path | references/path-and-file-management.md |

| Set up labels for automation pipelines | references/labels-and-automation.md |

| Link data dictionaries to models | references/data-dictionaries.md |

| Configure model references across folders | references/model-references.md |

| Configure source control, cache folders, .gitignore | references/source-control-and-caching.md |

| Diagnose broken references or health check failures | Start with Verification below, then route to the relevant reference |

Verification

Run after every project modification:

results = runChecks(proj);
updateDependencies(proj);
deps = proj.Dependencies;  % digraph

If runChecks reports issues, inspect which folders are missing from the project path — this is the root cause of most failures.

----

Copyright 2026 The MathWorks, Inc.

----

Other skills for the same job

different authors, same section of the catalogue
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

16k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

36k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

961 tokens
Executing Plans
by ZhanlinCui
×3

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

16k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

14k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

24k tokens

How to use it

Copy the folder

Take matlab/managing-simulink-projects from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.