Agent skill · Audited from source
Matlab Write Pcb Layout
skill · matlab/matlab-agentic-toolkitNOASSERTION licenceAudited 14 Oct 2026 · source 58967e6f32b5
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 58967e6f32b5 and found no filesystem, network or shell access and no hard-coded secrets. What it does: 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…
Cite
Cite this page
ModelsAtlas. “Matlab Write Pcb Layout (matlab/matlab-agentic-toolkit)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/matlab/matlab-write-pcb-layout
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 58967e6f32b5 · 14 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishermatlab GitHub organizationOwner of the repository this skill is read from
- Source foldermatlab/matlab-agentic-toolkit/skills-catalog/rf-and-mixed-signal/matlab-write-pcb-layoutThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict58967e6f32b5A new audit runs when the source changes
- Repository statusNot archivedLast push 5 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 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…
---
name: matlab-write-pcb-layout
description: "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)."
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata:
author: MathWorks
version: "1.0"
---
# 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 = PCBServices.OSHParkWriter` |
| Customize writer | `W.Filename = 'name'; W.CoordUnits = 'mm'` |
| RF connector object | `rc = RFConnector` |
| Design connector for PCB | `rc = design(RFConnector, pcb)` |
## gerberWrite — Export to Manufacturing
The `gerberWrite` function generates manufacturing files from a `pcbComponent`.
### Basic Export
```matlab
p = pcbComponent; % Your designed component
W = PCBServices.OSHParkWriter;
W.Filename = 'my_design'; % Controls output zip/folder name (default: 'untitled')
C1 = PCBConnectors.SMA_Cinch;
C2 = PCBConnectors.SMA_Cinch;
[A, outputPath] = gerberWrite(p, W, {C1, C2});
```
### Output
`gerberWrite` produces a folder of Gerber and drill files:
- Top/bottom copper layers
- Solder mask layers
- Silkscreen layers
- Drill files
- Board outline
The `A` output is a `PCBWriter` object with export metadata. `outputPath` is the path to the generated files.
## PCBWriter Object
The `PCBWriter` object controls export settings.
### Properties
| Property | Description |
|----------|-------------|
| `Design` | Struct containing the PCB design data |
| `Writer` | The PCB service writer (output format) |
| `Connector` | Cell array of connector objects |
| `UseDefaultConnector` | Use default connector if none specified |
| `ComponentBoundaryLineWidth` | Outline line width |
| `PCBMargin` | Extra board margin around component (m) |
| `Soldermask` | `'both'`, `'top'`, `'bottom'`, or `'none'` |
| `Solderpaste` | Logical — generate solderpaste layer |
| `Font` | Font for text on silkscreen |
## PCBConnectors — Connector Catalog
Attach standard RF connectors to your exported board.
### Available Connectors (25 Built-in Types)
| Category | Connectors |
|----------|-----------|
| **SMA 5-Pad** | `SMA`, `SMA_Cinch`, `SMA_Multicomp` |
| **SMA Edge-Launch** | `SMAEdge`, `SMAEdge_Cinch`, `SMAEdge_Samtec`, `SMAEdge_Amphenol`, `SMAEdge_Linx` |
| **SMB/SMC** | `SMB_Johnson`, `SMB_Pasternack`, `SMC_Pasternack`, `SMCEdge_Pasternack` |
| **MMCX** | `MMCX_Cinch`, `MMCX_Samtec` |
| **IPX/U.FL** | `IPX_Jack_Lighthorse`, `IPX_Plug_Lighthorse`, `UFL_Hirose` |
| **Coaxial Cable** | `Coax_RG11`, `Coax_RG58`, `Coax_RG59`, `Coax_RG174` |
| **Semi-Rigid** | `Semi_020`, `Semi_034`, `Semi_047`, `Semi_118` |
Access via `PCBConnectors.<type>`. All connectors have common properties: `Type`, `Mfg`, `Part`, `Annotation`, `Impedance` (default: 50 ohm), `Datasheet`, `Purchase`.
5-pad properties: `TotalSize`, `GroundPadSize`, `SignalPadDiameter`, `PinHoleDiameter`, `IsolationRing`, `VerticalGroundStrips`
Edge-launch properties: `GroundPadSize`, `GroundSeparation`, `GroundPadIsolation`, `SignalPadSize`, `SignalGap`, `SignalLineWidth`, `EdgeLocation` (`'north'|'south'|'east'|'west'`), `ExtendBoardProfile`, `FillGroundSide`
Coax properties: `PinDiameter`, `DielectricDiameter`, `ShieldDiameter`, `AddThermals`, `ThermalsDiameter`, `ThermalsBridgeWidth`
Connectors are placed at feed locations during Gerber export. They define pad footprints and drill patterns.
## PCBServices — Fabrication Service Writers
Writers configure output for specific fabrication services.
### Available Services (5 Built-in Writers)
| Service | Description |
|---------|-------------|
| `PCBServices.GerbLookWriter` | GerbLook online viewer |
| `PCBServices.ZofZWriter` | ZofZ 3-D Gerber viewer |
| `PCBServices.AdvancedCircuitsWriter` | Advanced Circuits manufacturing |
| `PCBServices.SeeedWriter` | Seeed Studio manufacturing |
| `PCBServices.OSHParkWriter` | OSH Park manufacturing |
Each writer formats Gerber files according to the fab house's naming and layer conventions.
**Key PCBServices properties:** `Filename`, `CoordUnits` (`'in'`/`'mm'`), `CoordPrecision`, `CreateArchiveFile`, `DefaultViaDiameter`, `UseExcellon`, `BoardProfileFile`, `SameExtensionForGerberFiles`, `PostWriteFcn`, `Files`
```matlab
% Customize a service writer
w = PCBServices.AdvancedCircuitsWriter;
w.Filename = 'my_antenna';
w.CoordUnits = 'mm';
w.CoordPrecision = [3 4];
```
## RF Connectors
`RFConnector` moExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 58967e6
git clone https://github.com/matlab/matlab-agentic-toolkit git -C matlab-agentic-toolkit checkout 58967e6f32b5
The author documents no install command, so this uses the repository directly. Our verdict covers commit 58967e6f32b5 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
58967e6f32b5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/matlab/matlab-write-pcb-layout/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
matlab/matlab-agentic-toolkit
Read BEFORE writing any code that adds Additive White Gaussian Noise (AWGN) to signals and converts between SNR, Eb/No, Es/No, and per-subcarrier SNR for communications simulations, using awgn(), convertSNR(),…
matlab/matlab-agentic-toolkit
The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.
matlab/matlab-agentic-toolkit
Analyze data using MATLAB. Use when the task involves tables, timetables, time-series data, numeric arrays, sensor matrices, or gridded data — including but not limited to exploring, row filtering, sorting, cleaning,…
matlab/matlab-agentic-toolkit
S-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…
matlab/matlab-agentic-toolkit
PDN 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…
matlab/matlab-agentic-toolkit
The MATLAB Agentic Toolkit brings proven MATLAB capabilities to AI agents, making engineering and scientific workflows agent-ready.
Add this badge to your README
[](https://modelsatlas.com/skills/matlab/matlab-write-pcb-layout/)
<a href="https://modelsatlas.com/skills/matlab/matlab-write-pcb-layout/"><img src="https://modelsatlas.com/skills/matlab/matlab-write-pcb-layout/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Matlab Write Pcb Layout
What does the Matlab Write Pcb Layout skill do?
Is Matlab Write Pcb Layout safe to install?
What can Matlab Write Pcb Layout access on my machine?
How current is this page?
Sources
- github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalo — the audited source at commit 58967e6f32b5 and every finding aboveObserved · 14 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Matlab Write Pcb Layout skill do?
- Is Matlab Write Pcb Layout safe to install?
- What can Matlab Write Pcb Layout access on my machine?