stateflow-apply-layout
A MathWorks skill from the Simulink Agentic Toolkit that tidies Stateflow diagrams.
What the skill teaches
A MathWorks skill from the Simulink Agentic Toolkit that tidies Stateflow diagrams. It is meant for charts left with overlapping states, transitions or junctions after edits through the Stateflow API, or when a user asks to clean up a chart, subchart, box or function. The agent finds the right subviewers, skips table-type charts and locked ones, and calls MathWorks' autolayout function either for a full rearrangement or incrementally, placing only new objects and keeping deliberate positions. Layout style and direction can be set. It then compares positions to make sure the call ran and tells the user the model has unsaved changes. Simulink block layout is left to the toolkit's model editing tool.
Capabilities
- Rearrange a Stateflow chart automatically
- Place only newly added states and transitions
- Choose layout style and direction
About
- Publisher
- MathWorks
- Tool
- Simulink
Works with
Install
What's inside
- manifest.yaml
- references/calling-convention-examples.md
- references/failures-and-iteration.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Simulink | |
| Publisher | MathWorks | source |
| Official status | OfficialMathWorks' own GitHub organisation; SKILL.md names MathWorks as author | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Visual Studio Code, Codex | source |
| Licence | NOASSERTION | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 19, 20261,366 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
Sources
- GitHub repositorygithub.com/matlab/simulink-agentic-toolkit · Backs: AI clients, Official status, Publisher, ActivityNov 20, 2026
- Web pageraw.githubusercontent.comNov 20, 2026
- Folder in the repository (stateflow-apply-layout)github.com/matlab/simulink-agentic-toolkit · Backs: Includes scriptsNov 20, 2026
- Skill file (SKILL.md)github.com/matlab/simulink-agentic-toolkit · Backs: LicenceNov 20, 2026
Other MCP servers and skills for Simulink
- simscape-diagnose-simulation-error(Skill)
- matlab-cosimulate-sumo-simulink(Skill)
- simulink-author-classic-autosar-swc(Skill)
- simulink-configure-code-interfaces(Skill)
- simulink-configure-model-for-code-generation(Skill)
- simulink-customize-a2l(Skill)
- simulink-optimizing-embedded-code(Skill)
- simulink-single-precision-conversion(Skill)
- View all →