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).
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 =
- When to Use
- When NOT to Use
- Typical Workflow
- Quick Reference
- gerberWrite — Export to Manufacturing
- Basic Export
- Output
- PCBWriter Object
- Properties
- PCBConnectors — Connector Catalog
- Available Connectors (25 Built-in Types)
- PCBServices — Fabrication Service Writers
- Available Services (5 Built-in Writers)
- RF Connectors
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.
