Agent skill · Documentation

matlab-write-pcb-layout

Export pcbComponent designs to Gerber files with RF connectors and fab service formatting for PCB manufacturing. TRIGGER: user asks to export a PCB design to Gerber, generate manufacturing files, or write out a pcbComponent for fabrication. Invoke BEFORE writing export code — gerberWrite signature (pcbComponent, connectors, filename) is non-obvious. SKIP: importing/reading PCB files (use matlab-read-pcb-layout), building PCB geometry (use matlab-assemble-pcb-layout), EM analysis (use matlab-analyze-em), material/stackup setup (use matlab-manage-pcb-material).

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/matlab-agentic-toolkit --skill matlab-write-pcb-layout --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.0
Declared author: MathWorks
Path: skills-catalog/rf-and-mixed-signal/matlab-write-pcb-layout/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 868
Language: MATLAB

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Writing PCB Layouts to Manufacturing Files ## When to Use - Exporting a pcbComponent or pcbStack design to Gerber manufacturing files - Selecting and configuring RF connectors (SMA, SMB, MMCX, etc.) for PCB export - Formatting output for specific fabrication services (OSH Park, Seeed, Advanced Circuits) - Attaching RFConnector objects to catalog components for shielded analysis - Generating a complete manufacturing package from a MATLAB RF design ## When NOT to Use - Importing Gerber files into MATLAB — use `matlab-read-pcb-layout` - Building the PCB design itself — use `matlab-assemble-pcb-layout` or the designing skills - Running EM analysis — use `matlab-analyze-em` ## Typical Workflow 1. **Before:** A design skill or `matlab-assemble-pcb-layout` — create the pcbComponent; `matlab-analyze-em` — validate performance; `matlab-optimize-pcb-design` — tune if needed 2. **This skill:** Export to Gerber with connectors and fab formatting ## Quick Reference | Task | Code | |------|------| | Export Gerber files | `[A,g] = gerberWrite(pcb, W, {C1,C2})` | | SMA connector | `C = PCBConnectors.SMA_Cinch` | | Edge-launch SMA | `C = PCBConnectors.SMAEdge_Samtec` | | PCB service writer | `W =

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Typical Workflow
  4. Quick Reference
  5. gerberWrite — Export to Manufacturing
  6. Basic Export
  7. Output
  8. PCBWriter Object
  9. Properties
  10. PCBConnectors — Connector Catalog
  11. Available Connectors (25 Built-in Types)
  12. PCBServices — Fabrication Service Writers
  13. Available Services (5 Built-in Writers)
  14. RF Connectors
Ships with 1 file
  • manifest.yaml
More from matlab-agentic-toolkit
All skills →
About this skill
What does the matlab-write-pcb-layout skill do?

Export pcbComponent designs to Gerber files with RF connectors and fab service formatting for PCB manufacturing. TRIGGER: user asks to export a PCB design to Gerber, generate manufacturing files, or write out a pcbComponent for fabrication. Invoke BEFORE writing export code — gerberWrite signature (pcbComponent, connectors, filename) is non-obvious. SKIP: importing/reading PCB files (use matlab-read-pcb-layout), building PCB geometry (use matlab-assemble-pcb-layout), EM analysis (use matlab-analyze-em), material/stackup setup (use matlab-manage-pcb-material).

How do I install it?

Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-write-pcb-layout --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going