Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-read-pcb-layout
Import Gerber, ODB++, Allegro .brd, .mcm files for PCB boards and IC packages. Inspect nets, layers, shapes, and stackups. TRIGGER: user asks to import, read, or open a PCB layout file. Gerber files use gerberRead or PCBReader; ODB++, Allegro .brd, .mcm, and native formats use pcbFileRead. Also when inspecting nets, layers, components, or stackups from an imported board. Invoke BEFORE writing import code — the query API (cadnet, cadnetList, componentList) is specialized. SKIP: EM analysis or S-p
Passed 21 of 21 test cases with the skill, and 5 of 21 without it.
and 26 more in the full report
17 fixed5 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
Before running a Cadence Allegro `.brd` file import, I want to programmatically query if the `extracta` utility path has already been configured in MATLAB without attempting to set a new path. What single line of code checks this?
| Checked | Without skill | With skill |
|---|---|---|
| Calls extractaSetup with zero arguments to query current path configuration | Missed | Passed |
The instructions your model reads when the skill loads.
Scope: pcbFileRead handles both PCB boards and IC/SiP packages. ODB++ and Allegro files may contain package-level designs (BGA substrates, interposers, embedded passives). The workflow is identical — the format determines what's inside, not the function name.
.gtl, .gbl, .gbr, etc.) into MATLAB for visualization or EM analysis.brd filespcbComponent from externally designed layouts for S-parameter analysismatlab-write-pcb-layoutmatlab-assemble-pcb-layoutmatlab-analyze-emmatlab-manage-pcb-materialmatlab-analyze-pcb-pdn — PDN DC analysis on imported board; or matlab-analyze-em — S-parameter extraction from imported geometry; or matlab-model-via — via analysis on imported stackup| Task | Code |
|---|---|
| Import Gerber file | P = gerberRead('file.gtl') |
| Extract shapes | shp = shapes(P) |
| Define stackup | S = stackUp |
| Multi-layer import | p = PCBReader('StackUp', S) |
| Convert to pcbComponent | pcb = pcbComponent(p) |
| Import ODB++ | pfile = pcbFileRead('design.zip') |
| Import Allegro .brd | pfile = pcbFileRead('design.brd') |
| List cadnets | tbl = cadnetList(pfile) |
| Open a cadnet | cnet = cadnet(pfile, "NET_NAME") |
| Query layer stackup | su = stackUp(pfile) |
| List components | tbl = componentList(pfile) |
test cases passed, vs 5 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.