embedded-ai-deployment

Solid

Deploy AI models to embedded hardware using MathWorks tools (MATLAB, Simulink, Embedded Coder). Covers two workflow patterns: (1) MathWorks-native or 3P-imported models rebuilt as dlnetwork for lean hardware (Cortex-M, DSP), (2) direct C/C++ code generation from PyTorch and LiteRT models for high-performance hardware (Cortex-A, x86, GPU). Trigger when: user wants to deploy AI to embedded targets; generate C/CUDA from neural networks; compress AI models for MCU/DSP; integrate AI in Simulink for system-level simulation; import PyTorch/ONNX/TensorFlow models for embedded deployment; optimize AI for resource-constrained hardware; or use loadPyTorchExportedProgram, importNetworkFromPyTorch, dlquantizer, exportNetworkToSimulink, or Embedded Coder with AI models.

AI & Automation 156 stars 31 forks Updated 3 days ago NOASSERTION

Install

View on GitHub

Quality Score: 80/100

Stars 20%
73
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Embedded AI for Engineered Systems Deploy AI models to embedded hardware using MATLAB® and Simulink®. This skill is written specifically for **MATLAB R2026a** and uses APIs, functions, and workflows introduced in that release. It covers the complete lifecycle: model creation or import, verification, compression, system-level simulation, and code generation for resource-constrained targets. Requires MATLAB R2026a or newer. Core toolboxes: Deep Learning Toolbox, Statistics and Machine Learning Toolbox, MATLAB Coder, Embedded Coder, Simulink, and Fixed-Point Designer. Workflow-specific support packages are checked during Environment Discovery. The MATLAB and Simulink Agentic Toolkits must be available so Codex can drive a live MATLAB and Simulink session through MCP tools. ## Workflow Pattern Selection Determine the correct workflow pattern based on model origin and deployment target. ### Decision Tree Primary discriminator for 3P models: **model size + hardware class**. ``` Q1: What is the deployment target? | +-- Cortex-M (M33, M4, M7) ---------------------> Q2 +-- Cortex-A/R processor or DSP (C2000, etc.) ----> Q2 +-- x86 processor or GPU (Jetson, CUDA) ----------> Q2 | Q2: Where does the AI model come from? | +-- Train from scratch in MATLAB ------------> Pattern 1 (references/pattern1/workflow.md) +-- Pre-trained 3P model --------------------> Q3 | Q3: Route by hardware class + model size ...

Details

Author
matlab
Repository
matlab/agent-skills-playground
Created
9 months ago
Last Updated
3 days ago
Language
HTML
License
NOASSERTION

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category