Agent skill · Audited from source
Matlab Model Via
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: Via modeling: pads, antipads, ground return vias, GRV placement, and signal integrity for high-speed layer transitions. TRIGGER: user asks to model a via, design a via transition, place ground return vias, analyze via…
Cite
Cite this page
ModelsAtlas. “Matlab Model Via (matlab/matlab-agentic-toolkit)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/matlab/matlab-model-via
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-model-viaThe 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: Via modeling: pads, antipads, ground return vias, GRV placement, and signal integrity for high-speed layer transitions. TRIGGER: user asks to model a via, design a via transition, place ground return vias, analyze via…
---
name: matlab-model-via
description: "Via modeling: pads, antipads, ground return vias, GRV placement, and signal integrity for high-speed layer transitions. TRIGGER: user asks to model a via, design a via transition, place ground return vias, analyze via performance, or check signal integrity through layer transitions. Invoke BEFORE writing code — only viaSingleEnded exists (no viaDifferential), and the location format is non-obvious. SKIP: general signal integrity without vias (use matlab-analyze-em), transmission line design (use matlab-design-pcb-transmission-line), PDN analysis (use matlab-analyze-pcb-pdn), material/stackup setup only (use matlab-manage-pcb-material)."
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata:
author: MathWorks
version: "1.0"
---
# Modeling Vias
## When to Use
- Modeling signal vias through multi-layer PCB stackups (viaSingleEnded)
- Configuring pad and antipad geometry per layer
- Placing ground return vias for signal integrity
- Analyzing via S-parameters and identifying barrel resonances
- Evaluating GRV placement with criticalwavelength and gapratedistance
## When NOT to Use
- Designing transmission lines or impedance control — use `matlab-design-pcb-transmission-line`
- Building custom PCB structures from shapes — use `matlab-assemble-pcb-layout`
- Setting up substrate or conductor materials — use `matlab-manage-pcb-material`
- Running full-wave EM analysis on non-via structures — use `matlab-analyze-em`
- PDN analysis on imported boards — use `matlab-analyze-pcb-pdn`
## Typical Workflow
1. **Before:** `matlab-manage-pcb-material` — set up substrate and conductor for the stackup
2. **This skill:** Model the via, place GRVs, check signal integrity
3. **After:** `matlab-integrate-pcb-circuit` — cascade via model with trace/connector models → `matlab-optimize-pcb-design` — optimize GRV placement or pad geometry
## Quick Reference
| Task | Code |
|------|------|
| Create via | `via = viaSingleEnded` |
| Set signal layers | `via.SignalLayer = [1 5]` |
| Set ground layers | `via.GroundLayer = [3 7 9]` |
| Set substrate | `via.Substrate = dielectric(...)` |
| Place signal via | `via.SignalViaLocations = [x y startLayer stopLayer]` |
| Place ground return vias | `via.GroundReturnViaLocations = [x y start stop; ...]` |
| Define ports | `via.SignalTable = {viaNum layer traceWidth direction; ...}` |
| View pads | `padsTable(via)` |
| View antipads | `antipadsTable(via)` |
| Customize pads | `pads = getpads(via); pads{k}.Radius = r; via.SignalViaPad = pads` |
| Customize antipads | `ap = getantipads(via); ap{k}.Radius = r; via.SignalViaAntipad = ap` |
| Visualize | `show(via)` |
| S-parameters | `sp = sparameters(via, freq)` |
| Resonance risk check | `cw = criticalwavelength(via, freq)` |
| Max GRV distance | `gapratedistance(via, freq)` |
## viaSingleEnded Object
The `viaSingleEnded` object models signal vias through multi-layer PCB stackups with configurable pads, antipads, and ground return vias.
### Basic Setup
```matlab
via = viaSingleEnded;
via.SignalLayer = [1 5];
via.GroundLayer = [3 7 9];
via.Substrate = dielectric("Name","FR4","EpsilonR",4.8,...
"LossTangent",0.026,"Thickness",1.27e-4,"Frequency",1e8);
via.Conductor = metal("Copper");
show(via);
```
### Key Properties
| Property | Format | Description |
|----------|--------|-------------|
| `SignalLayer` | Vector | Layer indices where signal traces connect (odd numbers) |
| `GroundLayer` | Vector | Layer indices for ground/return planes |
| `Substrate` | dielectric | Dielectric between layers |
| `Conductor` | metal | Via barrel and pad conductor |
| `SignalViaLocations` | N×4 matrix | `[x, y, startLayer, stopLayer]` per via |
| `SignalViaDiameter` | Scalar (m) | Via barrel diameter |
| `SignalViaFinishedDiameter` | Scalar (m) | Finished hole diameter (after plating) |
| `SignalViaPad` | Shape or cell | Pad shape(s) on signal via |
| `SignalViaAntipad` | Shape or cell | Antipad (clearance) shape(s) |
| `RemoveUnusedPads` | Logical | Remove pads on non-signal layers (default: true) |
| `GroundReturnViaLocations` | M×4 matrix | `[x, y, startLayer, stopLayer]` per GRV |
| `GroundReturnViaDiameter` | Scalar or vector | GRV barrel diameter |
| `GroundReturnViaFinishedDiameter` | Scalar or vector | GRV finished hole diameter |
| `SignalTable` | Cell array | Port definitions: `{viaNum, layer, traceWidth, direction}` |
## Signal Via Configuration
### Placing a Signal Via
```matlab
via = viaSingleEnded;
via.SignalLayer = [1 5];
via.GroundLayer = [3 7 9];
X = 0; Y = 0;
startLayer = 1;
stopLayer = 7;
via.SignalViaLocations = [X Y startLayer stopLayer];
```
The via barrel spans from `startLayer` to `stopLayer`. Signal connections occur on layers listed in `SignalLayer` that fall within this range.
### Via Diameter
```matlab
via.SignalViaDiameter = 0.25e-3; % Drill diameter
via.SignalViaFinishedDiameter = 0.20e-3; % After copper plating
```
### Unit Conversion Helper
The object provides a built-in mils-to-meters conversion:
```matlab
via.SignalViaDiameter = 10 * via.mils2meters; % 10 mils
```
## Port Definition (SignalTable)
The `SignalTable` property defines which layers become ports for S-parameter extraction.
### Format
Each row: `{signalViaNumber, layerIndex, traceWidth, direction}`
- `signalViaNumber`: Which signal via (1-based index into `SignalViaLocations`)
- `layerIndex`: The layer where the port is placed
- `traceWidth`: Width of the connecting trace (meters)
- `direction`: Angle in degrees (0 = +x direction, 90 = +y, etc.)
### Example: Two-Port Via
```matlab
via.SignalTable = {1, 1, 3e-4, 45; % Port 1: via 1, layer 1, 0.3mm trace, 45 deg
1, 5, 3e-4, 0}; % Port 2: via 1, layer 5, 0.3mm trace, 0 deg
```
### Using Table Syntax for Clarity
```matlab
vPorts = table('Size', [2 4], ...
'VariableTypes', ["cell","cell","cell","cell"], ...
'VariableNames', ["Signal Via Num","Layer","TraceExcerpt, 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-model-via/)
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-model-via/)
<a href="https://modelsatlas.com/skills/matlab/matlab-model-via/"><img src="https://modelsatlas.com/skills/matlab/matlab-model-via/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Matlab Model Via
What does the Matlab Model Via skill do?
Is Matlab Model Via safe to install?
What can Matlab Model Via 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 Model Via skill do?
- Is Matlab Model Via safe to install?
- What can Matlab Model Via access on my machine?