matlab-assemble-pcb-layout

Assemble custom RF PCB layouts in MATLAB using pcbComponent layer stacks.

883|109|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-assemble-pcb-layout
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-assemble-pcb-layout
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/rf-and-mixed-signal/matlab-assemble-pcb-layout
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-assemble-pcb-layout

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It eliminates the trial-and-error of constructing non-catalog RF PCB structures by guiding you to assemble accurate pcbComponent geometries using the correct layer/shape/feed APIs.

Core Features & Use Cases

  • Custom pcbComponent assembly: Build multi-layer stackups with arbitrary metal and dielectric shapes using pcbComponent, shapes, Boolean operations, and feeds.
  • Non-catalog RF layouts: Create geometries such as defected ground structures (DGS), shielded enclosures, and advanced port feeds (including FeedDefinitions mode).
  • Error-avoiding workflow: Encodes key ordering and modeling pitfalls, including BoardThickness vs Layers and feed placement constraints.

Quick Start

Ask your AI agent to use matlab-assemble-pcb-layout to construct the exact pcbComponent geometry (layers, shapes, Boolean edits, and feeds) for your non-catalog RF PCB before any pcbComponent modeling/code is written.

Frequently Asked Questions about matlab-assemble-pcb-layout

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a custom RF PCB layout in MATLAB using pcbComponent?

To build a custom RF PCB layout in MATLAB, you assemble pcbComponent layer stacks from shape primitives, apply Boolean operations for customized polygons or slots, and define feeds correctly. This ensures non-catalog geometries like defected ground structures are constructed accurately before writing modeling code.

Why do my pcbComponent feeds fail to place correctly on custom RF PCB layers?

pcbComponent feeds fail when they are not placed on valid metal layers with correct indices. Correct ordering is required when defining feeds, vias, or FeedDefinitions to ensure the excitation aligns properly with the multi-layer metal patterning of your custom RF PCB.

What is the correct way to set BoardThickness and Layers for a multi-layer RF PCB stackup?

Setting BoardThickness and Layers consistently is required for a valid multi-layer RF PCB stackup. This ensures your custom dielectric and metal shapes align properly within the pcbComponent geometry, avoiding modeling errors during the assembly of non-catalog structures.

Can I use Boolean operations to create defected ground structures (DGS) in MATLAB?

Yes, you can create defected ground structures in MATLAB by using Boolean operations on shape primitives. This allows you to subtract or combine geometric shapes to form customized polygons and slots within your pcbComponent layout for advanced RF designs.

When should I use a custom pcbComponent assembly instead of standard transmission line tools?

You should use a custom pcbComponent assembly when you need non-catalog geometries, customized polygons, multi-layer metal patterning, or advanced port excitation. It is not intended as a replacement for standard transmission lines, materials, EM analysis, or PCB import tasks.

Does MATLAB support advanced port excitation like FeedDefinitions for custom RF PCBs?

Yes, MATLAB supports advanced port excitation through FeedDefinitions for custom RF PCBs. This allows you to define complex feeds and vias with correct ordering on valid metal layers, ensuring accurate excitation for non-catalog pcbComponent geometries.