system-composer
OfficialIdempotent System Composer scripting.
Software Engineering#automation#idempotent#matlab#mbse#architecture-modeling#system-composer#programmatic-modeling
Authorsimulink
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps authors create reusable, idempotent MATLAB scripts to build System Composer architecture models using the architecture-modeling API.
Core Features & Use Cases
- Create System Composer models programmatically using the architecture-modeling API: systemcomposer.createModel, addComponent, addPort, connect, setInterface, and manage interface dictionaries (.sldd) with addInterface/addElement.
- Apply profiles and stereotypes via Profile.createProfile and addStereotype, and handle allocation sets with systemcomposer.allocation.createAllocationSet.
- Debug and guard against common API failures (unresolved interfaces, profile save errors, allocation-signature mismatches) and enforce idempotent rebuilds.
- Ensure reliable layout by calling Simulink.BlockDiagram.arrangeSystem before saving, and keep edits deterministic by rebuilding from scratch rather than ad-hoc edits.
Quick Start
Create a buildMySystemModel.m that uses the architecture-modeling APIs (systemcomposer.createModel, addComponent, addPort, connect, setInterface, createDictionary) and call arrangeSystem before saving to ensure idempotent, reproducible results.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: system-composer Download link: https://github.com/simulink/blog/archive/main.zip#system-composer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.