Design, analyze, and optimize antennas and arrays using MATLAB Antenna Toolbox — catalog elements, custom shapes, PCB stacks, arrays, AI-accelerated exploration, and surrogate-assisted optimization.
Ships in rf-and-mixed-signal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Design, analyze, and optimize antennas and arrays using MATLAB Antenna Toolbox — from catalog elements to custom shapes, PCB fabrication, AI-accelerated exploration, and surrogate-assisted optimization.
Catalog antenna design
Custom antenna design
PCB antenna design
Array design
AI-accelerated design
Optimization
matlab-analyze-antenna-structuresmatlab-integrate-antennacustomAntenna — use customAntenna only when no catalog antenna or system antenna matches the requested geometrydesign() unless user provides explicit dimensions or antenna lacks design() supportdesign() — design() adapts dimensions to the substrateSweepOption="interp" only with sparameters (not impedance) on substrate antennasshape.* namespace (NOT antenna.*) with customAntennacustomAntenna without createFeed cannot be analyzedextrudeLinear requires XY-plane shapescopy() to preserve before transformingBoardThickness BEFORE Layers — otherwise dielectric gets wrong thicknessantenna.* namespace (NOT shape.*) for pcbStack metal patterns{M,D,M}, ground is index 3design() does not work on pcbStack — design catalog antenna first, then convertFilename must be char ('single quotes'), not "string"design(arr, freq, element) — omitting resets to dipoleAmplitudeTaper for rectangularArray is column-major orderphaseShift() for finite steering, ScanAzimuth/ScanElevation for infinitedesign(..., ForAI=true) — direct em.ai.AIAntenna() constructor not supportedpatternFromAI must be row vectors with 1-degree integer spacingexportAntenna + full-wave simulationdesign() to get physically reasonable initial dimensions{lb1,lb2; ub1,ub2}, Tier 2 bounds: numeric matrix [lb;ub]FrequencyRange explicitly for bandwidth optimization (default +/-5% may not match target)design(ant, freq)mesh(ant, MaxEdgeLength=lambda/8) for substrate antennaspolarpatternshape.* primitives (Rectangle, Box, Cylinder, Polygon)translate, rotate, scale (handle objects — copy first)+ (union), - (subtract), & (intersect)extrudeLinear (taper) or extrudeRotate (revolution)customAntenna(Shape=...), createFeed(ant, loc, numEdges)mesh(ant, MaxEdgeLength=lambda/6), impedance, patternpcbStack, set BoardThickness FIRST, then Layersantenna.* shapes with boolean operationsFeedLocations = [x, y, sigLayer, gndLayer]SweepOption="interp"), patterngerberWrite with PCBWriter, PCBServices, PCBConnectorsdesign(arr, freq, element)phaseShift() finite, ScanAzimuth/ScanElevation infiniteAmplitudeTaper (column-major for rectangular)arrayFactor (fast) → patternMultiply → pattern (accurate)sparameters, correlation, isolation metricsdesign(ant, freq, ForAI=true) for supported typestunableRanges, parametric sweep, resonantFrequency, bandwidthexportAntenna + full-wave impedance/patternpatternFromAI from 2D slices (row vectors, 1-deg spacing)optimize() or OptimizerSADEA/OptimizerTRSADEAgetBestMemberData, showConvergenceTrend, isConverged| Class | Purpose |
|---|---|
design() | Scale catalog antennas to frequency |
customAntenna | Arbitrary geometry from shape.* primitives |
pcbStack | Multi-layer PCB antenna with antenna.* shapes |
linearArray / rectangularArray / circularArray | Finite arrays |
conformalArray | Arbitrary element positions (MIMO, custom) |
infiniteArray | Unit cell with Floquet BC |
em.ai.AIAntenna | Pretrained surrogate for instant prediction |
patternFromAI | 3D pattern from 2D slices |
optimize() | Built-in SADEA for catalog antennas |
OptimizerSADEA / OptimizerTRSADEA | Custom optimization |
"double quotes" for strings (except Gerber Filename which requires 'char')fprintf for formatted outputpattern, show, rfplot, impedance)plot figures and TitleTop to polarpatternphysconst("LightSpeed") — never hardcode 3e8For design, analysis, or sweep tasks — write code to .m files, run via run_matlab_file, iterate by editing and re-running. Use inline evaluate_matlab_code for quick one-off checks.
| Load when... | Reference |
|---|---|
| Designing catalog antennas (types, design(), substrate, patterns) | references/catalog-antennas.md |
| Building custom antennas (shape.*, extrusion, feeds, substrate) | references/custom-antennas.md |
| Designing PCB antennas (pcbStack, layers, boolean, Gerber) | references/pcb-antennas.md |
| Designing arrays (finite, infinite, steering, taper, MIMO) | references/arrays.md |
| AI design exploration (AIAntenna, patternFromAI, surrogates) | references/ai-antenna-workflows.md |
| Optimizing antennas (SADEA, bounds, constraints, custom eval) | references/optimization.md |
Copyright 2026 The MathWorks, Inc.
manifest.yaml (opens in a new tab)references/ai-antenna-workflows.md (opens in a new tab)references/arrays.md (opens in a new tab)references/catalog-antennas.md (opens in a new tab)references/custom-antennas.md (opens in a new tab)references/optimization.md (opens in a new tab)references/pcb-antennas.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
antenna-design, matlab, electromagnetics, rf-design, array-design
/rf-and-mixed-signal:matlab-design-antennafrom rf-and-mixed-signal
npx claudepluginhub matlab/matlab-agentic-toolkit --plugin rf-and-mixed-signal21 skills in this plugin
/matlab-analyze-ams-waveformAnalyze AMS waveform data using Mixed-Signal Blockset utilities: phase noise measurement, clock jitter, anti-aliased resampling, timing measurements, lock time, INL/DNL, ADC/DAC calibration, HSpice import. Use when analyzing time-domain voltage from PLL/VCO/clock simulations, measuring phase noise from variable-step solver output, computing jitter, or resampling non-uniform data./matlab-analyze-antenna-structuresDesign and analyze electrically large antenna structures using MATLAB Antenna Toolbox. Covers reflector antennas (parabolic, Cassegrain, Gregorian, offset, corner, cylindrical, spherical, custom STL), reflectarrays and reconfigurable intelligent surfaces (RIS), antennas installed on platforms (vehicles, aircraft, ships, satellites), and radar cross section (RCS) analysis. Includes solver selection (MoM-PO, PO, MoM, FMM), mesh control, and GPU acceleration. Use when the user wants to design a dish/reflector antenna, reflectarray, analyze an antenna on a platform, or compute RCS.
/matlab-analyze-emS-parameters, insertion loss, fields, currents, mesh control, and solver selection for RF PCB performance validation. TRIGGER: user asks to compute S-parameters, analyze insertion/return loss, extract fields or currents, compare MoM vs FEM, or control mesh for any RF PCB component. Invoke BEFORE writing sparameters() or solver code — API is non-obvious. SKIP: designing or creating components (use the specific matlab-design-pcb-* skill), material/stackup setup only (use matlab-manage-pcb-material), optimization sweeps (use matlab-optimize-pcb-design), PDN/IR-drop analysis (use matlab-analyze-pcb-pdn)./matlab-analyze-pcb-pdnPDN DC voltage/current analysis, IR drop, design rule checking, and multi-net batch analysis on imported PCB layouts. TRIGGER: user asks about power integrity, PDN analysis, IR drop, voltage distribution, current density, power nets, or design rule checking on a PCB. Invoke BEFORE writing code — the PDN API chain is specialized and non-obvious. SKIP: importing a PCB file (use matlab-read-pcb-layout), EM field/S-parameter extraction (use matlab-analyze-em), material/stackup setup only (use matlab-manage-pcb-material), transmission line design (use matlab-design-pcb-transmission-line)./matlab-assemble-pcb-layoutBuild custom PCB structures with pcbComponent, shapes, Boolean ops, feeds, and multi-layer stackups for non-catalog geometries. TRIGGER: user asks to build, modify, or customize a pcbComponent — add/remove shapes, edit polygons, place feeds, add metal layers, cut slots, or create non-catalog RF structures. Also when modifying geometry of an existing catalog-designed component (e.g., adding pads, removing elements, editing vertices). Invoke BEFORE writing pcbComponent code — layer/shape/feed API is non-obvious. SKIP: designing catalog components like filters/couplers/txlines (use the specific matlab-design-pcb-* skill), material/stackup definition only (use matlab-manage-pcb-material), EM analysis (use matlab-analyze-em), importing PCB files (use matlab-read-pcb-layout)./matlab-design-pcb-couplerWilkinson, branchline, ratrace, directional couplers, corporate dividers, Rotman lenses for power splitting and beam-forming. TRIGGER: user asks to design, create, or analyze any coupler, splitter, power divider, combiner, or Rotman lens. Invoke BEFORE writing code — class names and design() availability vary per coupler type. SKIP: EM simulation/S-parameter extraction of an existing component (use matlab-analyze-em), building custom non-catalog geometry (use matlab-assemble-pcb-layout), material/stackup setup only (use matlab-manage-pcb-material), cascading multiple components (use matlab-integrate-pcb-circuit).Other plugins' skills for the same job