matlab-deploy-ai-model

Installation
SKILL.md

Generate C/C++/CUDA Code from an AI Model

Generate deployable C/C++ or CUDA code from an AI model using MATLAB Coder or GPU Coder. The workflow follows a common pattern regardless of model framework: load, inspect, write entry-point, generate MEX, verify, then generate production code.

When to Use

  • User wants to generate C/C++/CUDA code from an AI model (PyTorch, LiteRT)
  • User has a model file (.pt2, .tflite) and wants to load it into MATLAB
  • User wants MEX acceleration for an AI model
  • User wants to generate CUDA code or GPU-accelerated MEX from an AI model
  • User wants to deploy an AI model to hardware
  • User wants to use a PyTorch or LiteRT model in Simulink (simulation or code generation)
  • User wants to verify AI model numerics between the source framework and MATLAB

When NOT to Use

Installs
20
GitHub Stars
920
First Seen
Jul 18, 2026
matlab-deploy-ai-model — matlab/matlab-agentic-toolkit