⚙️
AI EngineeringMATLAB

MATLAB Generate Code

by matlab

MATLAB Generate Code is an AI Engineering skill for Claude Code, published by matlab in matlab-agentic-toolkit.

938 stars115 forkson matlab/matlab-agentic-toolkitAdded 2026/08/21+2% in starsRepository updated 2026/08/13
agent-skillsclaude-codecodex-pluginengineering-agentsgithub-copilotmatlabmatlab-mcp-server
Install in seconds
Install MATLAB Generate Code
Copy MATLAB Generate Code into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/code-generation/matlab-generate-code ~/.claude/skills/matlab-generate-code

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/matlab/matlab-agentic-toolkit.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills-catalog/code-generation/matlab-generate-code/SKILL.md in matlab/matlab-agentic-toolkit
Installs to
~/.claude/skills/matlab-generate-code
Collection
One of 25 skills cataloged from this repository
Category
AI Engineering2451 skills

What MATLAB Generate Code does

MATLAB Generate Code generates, verifies, and refines C/C++ or CUDA code from MATLAB using MATLAB Coder, Embedded Coder, GPU Coder, and MATLAB Test. It also helps write codegen-ready MATLAB with %#codegen, coder.* directives, and code generation constraints.

MATLAB Generate Code is cataloged under AI Engineering on DirSkills. MATLAB Generate Code comes from a repository tagged agent-skills, claude-code, codex-plugin, engineering-agents and github-copilot.

Documentation

README

Generate Code with MATLAB Coder

Umbrella skill for the MATLAB Coder workflow: generate code, verify it, refine the config, and accelerate with profiled MEX.

When to Use

  • Generating C/C++ or CUDA code from MATLAB functions (MEX, lib, dll, exe)
  • Writing new MATLAB code that must be compatible with code generation
  • Reviewing existing MATLAB code for codegen readiness or fixing codegen errors
  • Configuring codegen settings for specific targets (embedded, speed, readability, safety)
  • Verifying generated code matches MATLAB output (coder.runTest, matlabtest.coder.TestCase)
  • Profiling and accelerating generated MEX functions
  • Using coder.* directives (coder.varsize, coder.const, coder.extrinsic, coder.ceval, etc.)

When NOT to Use

This is the opening of the README. Read the full README on GitHub.

Frequently asked about MATLAB Generate Code

  • What else does matlab publish alongside MATLAB Generate Code?

    MATLAB Generate Code is one of 25 skills that DirSkills catalogs from matlab/matlab-agentic-toolkit, the repository it ships in. Its siblings there include Aerospace Fundamentals, Build RoadRunner Scenario From OpenSCENARIO and Compute Aerospace Environment. Each one is a separate skill with its own page in this directory, installs the same way MATLAB Generate Code does, and is maintained by matlab in that same repository. The rest of the collection is listed on the matlab/matlab-agentic-toolkit page.

  • How does MATLAB Generate Code compare to other AI Engineering skills?

    MATLAB Generate Code ranks #1448 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of MATLAB Generate Code against them. Open each page to compare what they document and how they install.

More from matlab/matlab-agentic-toolkit

MATLAB Generate Code is one of 25 skills cataloged on DirSkills from matlab/matlab-agentic-toolkit.

See all 25 skills
🛰️
1w ago

Aerospace Fundamentals

Aerospace Fundamentals performs aerospace unit, time, coordinate-frame, and rotation conversions using Aerospace Toolbox. Use it when converting between frames, Julian dates, or rotation forms such as Euler angles, DCMs, quaternions, and Rodrigues vectors.
Automation
938115
🛣️
1w ago

Build RoadRunner Scenario From OpenSCENARIO

Build RoadRunner Scenario From OpenSCENARIO recreates a RoadRunner scenario from an OpenSCENARIO 1.x file using MATLAB. Use it to convert a .xosc into a programmatic scenario script, including positions, trajectories, references, and logic that can be mapped.
DevOps
938115
🛰️
1w ago

Compute Aerospace Environment

Compute Aerospace Environment calculates atmosphere, gravity, wind, magnetic field, geoid, ephemeris, space weather, and Earth orientation properties for aerospace analysis and navigation corrections. Use it when MATLAB prompts need standard atmosphere, gravity, magnetic, or IERS/Aerospace Toolbox environment data.
Data
938115
🛠️
1w ago

Deploy Embedded Code

Deploy Embedded Code configures MATLAB Coder and Embedded Coder for embedded hardware targets, including memory limits, hardware settings, and PIL/SIL verification. Use it when generating code for microcontrollers or boards like STM32 and Raspberry Pi.
DevOps
938115
🚗
1w ago

Driving Data Importer

Driving Data Importer loads raw driving sensor logs into scenariobuilder objects and runs preprocessing such as sync, crop, offset correction, and timestamp normalization. Use it when converting datasets like KITTI, nuScenes, Waymo, ROS bags, or CSV/MAT/video files for later scenario work.
Automation
938115
🤖
1w ago

Embedded AI Deployment

Embedded AI Deployment helps deploy neural networks to embedded hardware with MATLAB, Simulink, and Embedded Coder. Use it to import, compress, simulate, and generate C or CUDA for Cortex-M/A/R, x86, or GPU targets.
DevOps
938115