← ClaudeAtlas

matlab-projectlisted

Use this skill for any work involving a MATLAB Project (.prj file) — creating a new project, tracking files, managing the project path, configuring Simulink cache and code-generation folders, running project health checks, or writing build scripts that keep the project in sync with the file system. Trigger phrases include "set up a MATLAB project", "create a .prj", "track this file in the project", "project health check", "build script conventions". This skill is the generic foundation; domain-specific skills (e.g. `mbse-workflow`) build on it.
matlab/agent-skills-playground · ★ 124 · AI & Automation · score 77
Install: claude install-skill matlab/agent-skills-playground
# MATLAB Project — Setup, Conventions, and Build-Script Patterns A MATLAB Project (`.prj`) is a single file that manages path, tracked artifacts, shortcuts, derived-output locations, and health checks. This skill covers the mechanics so every downstream workflow (requirements, architecture, analysis, anything else) can rely on a predictable project shape. Domain skills reuse this skill's helpers (`setupProject`, `registerWithProject`) and conventions (idempotent build scripts, `removeFile` before `delete`, `runChecks` at the end of `buildAll`). They may override the living-doc templates with domain-specific versions. --- ## Creating a project Use [`code/setupProject.m`](code/setupProject.m) to create the project inline (not as a saved script — the `scripts/` folder doesn't exist yet): ```matlab setupProject(projectName, projectFolder, subfolders, derivedSubfolders) ``` - `subfolders` — cell array of folders that are created, added as tracked project files, and placed on the MATLAB path. Callers choose the layout. - `derivedSubfolders` — cell array of folders for build outputs. Created but **not tracked**. The first two entries are wired to `SimulinkCacheFolder` and `SimulinkCodeGenFolder` if supplied, so Simulink cache / codegen stays out of source control. Example (MBSE shape): ```matlab setupProject("MySystem", "C:\work\MySystem", ... {'requirements','architecture','analysis','verification','scripts'}, ... {fullfile('derived','cache'), fullfile('der