Agent skill · DevOps & Cloud

matlab-deploy-embedded-code

Deploy MATLAB-generated code to embedded hardware using Embedded Coder. Use when configuring code generation for microcontrollers (STM32, Raspberry Pi, ARM Cortex), setting up PIL/SIL verification, disabling dynamic memory allocation, or configuring hardware-specific code generation settings. Covers ERT-based configurations, processor-in-the-loop testing, memory constraints, and the MEX→SIL→PIL verification progression.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/matlab-agentic-toolkit --skill matlab-deploy-embedded-code --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 9 KB
Bundled scripts: none
Version: 1.1
Declared author: MathWorks
Path: skills-catalog/code-generation/matlab-deploy-embedded-code/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Deploy Embedded Code Configure MATLAB Coder with Embedded Coder for production-quality code generation targeting embedded hardware, and verify correctness with processor-in-the-loop (PIL) testing. ## When to Use - Generating C/C++ code for a microcontroller or embedded Linux board - Setting up PIL or SIL verification for generated code - Configuring code generation with no dynamic memory allocation - Deploying deep learning models to resource-constrained hardware - Selecting a hardware target board (STM32, Raspberry Pi) ## When NOT to Use - Generating MEX or desktop libraries — use standard `codegen` workflows - Simulink-based deployment — use Simulink Coder / Embedded Coder workflows directly - GPU code generation (CUDA) — use GPU Coder ## Workflow ### 1. Create an ERT-Based Configuration ```matlab cfg = coder.config("lib", "ecoder", true); ``` The `"ecoder", true` flag creates an ERT-based (Embedded Real-Time) configuration that generates production-quality code with no OS dependencies. ### 2. Select Target Hardware With `coder.hardware`: ```matlab cfg.Hardware = coder.hardware("STM32F746G-Discovery"); ``` Without the support package, configure hardware manually: ```matlab cfg.

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Workflow
  4. 1. Create an ERT-Based Configuration
  5. 2. Select Target Hardware
  6. 3. Configure Memory for Bare-Metal Targets
  7. 4. Configure Performance (SIMD and OpenMP)
  8. 5. Set Up PIL Verification
  9. 6. Generate Code
  10. 7. Verify with the MEX → SIL → PIL Progression
  11. Key Properties
  12. Common Mistakes
  13. Conventions
  14. References
Ships with 2 files
  • manifest.yaml
  • references/supported-hardware.md
More from matlab-agentic-toolkit
All skills →
About this skill
What does the matlab-deploy-embedded-code skill do?

Deploy MATLAB-generated code to embedded hardware using Embedded Coder. Use when configuring code generation for microcontrollers (STM32, Raspberry Pi, ARM Cortex), setting up PIL/SIL verification, disabling dynamic memory allocation, or configuring hardware-specific code generation settings. Covers ERT-based configurations, processor-in-the-loop testing, memory constraints, and the MEX→SIL→PIL verification progression.

How do I install it?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-deploy-embedded-code --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going