Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Assembles custom PCB structures in MATLAB from pcbComponent layers, shape Boolean operations, feeds, vias and multi-layer stackups.
Use this skill ↓23% 86%+64 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 5 of 22 without it.
I am modeling a stripline feed via connecting internal layers on a pcbComponent. I want the feed via barrel modeled with a square cross-section instead of a round cylinder. What property and string value should I configure on the pcbComponent?
Sets pcb.FeedViaModel to 'square'.
3 of 3 safety checks passed
matlab-design-pcb-transmission-linematlab-read-pcb-layoutmatlab-manage-pcb-materialmatlab-analyze-emmatlab-integrate-pcb-circuitmatlab-manage-pcb-material — set up substrate and conductormatlab-analyze-em — validate S-parameters → matlab-optimize-pcb-design — tune dimensions → matlab-write-pcb-layout — export Gerber| Task | Code |
|---|---|
| Create pcbComponent | pcb = pcbComponent |
| Assign layers | pcb.Layers = {signal, substrate, ground} |
| Set board shape | pcb.BoardShape = ground |
| Set thickness | pcb.BoardThickness = 1.6e-3 |
| Place feeds | pcb.FeedLocations = [x1 y1 1 3; x2 y2 1 3] |
| Feed diameter | pcb.FeedDiameter = W/2 |
| Set conductor | pcb.Conductor = metal("Copper") |
| Add vias | pcb.ViaLocations = [x y topLayer botLayer] |
| Visualize | show(pcb) |
| Layout view | layout(pcb) |
| Boolean union | shape = s1 + s2 |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.