- name
SKILL.md
File skill tetap berada di repositori penerbit.
Tempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add matlab/simulink-agentic-toolkit --skill managing-simulink-projects -a cursor -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add matlab/simulink-agentic-toolkit --skill managing-simulink-projects -a claude-code -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add matlab/simulink-agentic-toolkit --skill managing-simulink-projects -a codex -yTempel perintah yang disalin di terminal. Perintah itu memasang SKILL.md ini ke agen tersebut.
npx skills add matlab/simulink-agentic-toolkit --skill managing-simulink-projects -a grok -yKirim pesan yang disalin di chat Grok Bot. Bot mengambil SKILL.md ini dari GitHub dan menambahkannya ke skill yang dipakai bersama oleh semua Bot Anda.
Install this skill: https://github.com/matlab/simulink-agentic-toolkit/tree/HEAD/skills-catalog/model-based-design-core/managing-simulink-projectsDari penerbit
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.
building-simulink-modelstesting-simulink-modelsgenerate-requirement-draftssimulating-simulink-modelsFour 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.
Always:
addPath(proj, folder) for every folder containing dictionaries, referenced models, requirements, or profilesaddDataSource, set_param(...,'DataDictionary',...), and slreq.createLinkSimulinkCacheFolder and SimulinkCodeGenFolder: proj.SimulinkCacheFolder = fullfile(proj.RootFolder, 'work')updateDependencies(proj) before querying proj.Dependencies.graphml extension for DependencyCacheFile.gitignore for excluding derived files from source control.slmx link-store files with the project (guarded by isfile check)Ask First:
removeFile then disk delete)Never:
proj.IgnoredFilePatterns — throws "Feature not supported" for all project types from createProjectcat.Labels — the correct property is cat.LabelDefinitions'string' as a label DataType — valid types are 'none', 'char', 'double', 'integer', 'logical'findFile (singular) for label queries in R2024a+ — use findFiles (plural). ONLY use findFile with R2023a/bclear all in startup scripts — it wipes the proj variableRun 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.
>-
---name: managing-simulink-projectsdescription: >----# skills-catalog/model-based-design-core/managing-simulink-projects/SKILL.mdFAQ
Unduh skills-catalog/model-based-design-core/managing-simulink-projects/SKILL.md dari penerbit, atau salin path-nya dan buka repositori. PlugMCP hanya mendaftar skill ini dan tidak meng-host filenya.
Penerbit menyimpannya di https://github.com/matlab/simulink-agentic-toolkit.
Claude, Cursor, Codex, dan Grok Build bisa membaca SKILL.md yang Anda tambahkan dari repositori penerbit. Grok Bot memasangnya saat Anda mengirim tautan folder GitHub skill tersebut di chat.