# Simulink Control Motors

Build motor control solutions using Motor Control Blockset for PMSM, induction motors...

- Repository: https://github.com/matlab/simulink-agentic-toolkit (1305 stars)
- Category: Engineering
- License: see repository
- Last updated: 2026-10-29
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-control-motors -g -a claude-code -y`
Codex: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-control-motors -g -a codex -y`
Cursor: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-control-motors -g -a cursor -y`
Gemini CLI: `npx skills add matlab/simulink-agentic-toolkit --skill simulink-control-motors -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add matlab/simulink-agentic-toolkit`

## Description

Build motor control solutions using Motor Control Blockset for PMSM, induction motors, BLDC, and SynRM. Implement field oriented control, sensorless FOC, six-step control, speed control, current control, and torque control. Configure SVPWM, flux weakening, MTPA, MTPV, control of non-linear motors, inverter control, and motor parameter estimation. Compose motor drive models, tune gains, and generate embedded code.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Simulink Control Motors, Motor Control Blockset Skill

Build motor control solutions using Motor Control Blockset (MCB): characterize motors, select control algorithms (FOC, DTC, six-step, V/f), compose Simulink models, tune gains, configure sensorless estimation, and generate code for embedded targets.

## When to Use

- User explicitly requests motor control assistance or asks to load this skill
- User works with Motor Control Blockset or motor drive design
- Building, tuning, debugging, or designing motor control systems
- User mentions PMSM, BLDC, induction motor, SynRM, FOC, sensorless, six-step, SVPWM, flux weakening, MTPA, MTPV

## When NOT to Use

- General Simulink modeling work that does not involve motor control
- Simple factual questions about motors (no model building needed)

## Dependencies

- **Required**: Motor Control Blockset, Simulink
- **Optional**: Embedded Coder, Simscape Electrical, Powertrain Blockset

---

## How This Skill Works

1. **Read `references/common/COMMON-mcb.md`** (shared conventions, always load first)
2. **Read `references/common/ROUTER-mcb.md`** for block routing and resolution rules
3. **Identify user intent** using the routing table below
4. **Follow the matching section**, each section points to detailed reference files
5. **Consult `references/configurations/`** for non-FOC architectures (DTC, six-step, V/f, BLDC, ACIM)
6. **Use `references/common/mcb-examples.md`** for official MCB example references

---

## Intent Routing

The rest: https://github.com/matlab/simulink-agentic-toolkit/blob/HEAD/skills-catalog/control-systems/simulink-control-motors/SKILL.md
