Agent skill · Audited from source
Matlab Analyze Em
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: 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…
Cite
Cite this page
ModelsAtlas. “Matlab Analyze Em (matlab/matlab-agentic-toolkit)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/matlab/matlab-analyze-em
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-analyze-emThe 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: 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…
--- name: matlab-analyze-em description: "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 currents, compare MoM vs FEM, or control mesh for any RF PCB component. Invoke BEFORE writing sparameters() or solver code — API is non-obvious. SKIP: designing or creating components (use the specific matlab-design-pcb-* skill), material/stackup setup only (use matlab-manage-pcb-material), optimization sweeps (use matlab-optimize-pcb-design), PDN/IR-drop analysis (use matlab-analyze-pcb-pdn)." license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md metadata: author: MathWorks version: "1.0" --- # Analyzing EM Performance of RF PCB Components ## When to Use - Extracting S-parameters from any RF PCB component (catalog or custom pcbComponent) - Comparing MoM vs FEM solvers or selecting the right solver for a structure - Using interpolating sweeps or frequencySweep objects for faster multi-frequency analysis - Controlling mesh density for accuracy vs speed tradeoffs - Visualizing E/H fields, surface currents, or charge distributions - Using behavioral (analytic) S-parameter models for fast estimates or optimization ## When NOT to Use - Building or assembling custom PCB structures — use `matlab-assemble-pcb-layout` - Designing standard transmission lines or catalog objects — use `matlab-design-pcb-transmission-line` - Defining dielectric or metal materials — use `matlab-manage-pcb-material` - Cascading or connecting multiple components into circuits — use `matlab-integrate-pcb-circuit` - Importing PCB layouts from Gerber, ODB++, or Allegro — use `matlab-read-pcb-layout` ## Typical Workflow 1. **Before:** `matlab-manage-pcb-material` — substrate/conductor setup; then a design skill or `matlab-assemble-pcb-layout` — create the component 2. **This skill:** Extract S-parameters, visualize fields and currents, verify performance 3. **After:** `matlab-optimize-pcb-design` — tune dimensions if specs not met → `matlab-integrate-pcb-circuit` — cascade into larger network → `matlab-write-pcb-layout` — export Gerber ## Quick Reference | Task | Code | |------|------| | S-parameters (MoM) | `sp = sparameters(obj, freq, 'SweepOption', 'interp')` | | S-params with port Z0 | `sp = sparameters(obj, freq, 50, 'SweepOption', 'interp')` | | Interpolating sweep | `sp = sparameters(obj, freq, 50, 'SweepOption', 'interp')` | | Interp with gradient | `sp = sparameters(obj, freq, 50, 'SweepOption', 'interpWithGrad')` | | Plot S-params | `rfplot(sp)` or `rfplot(sp, [2 1], 1)` | | Current distribution | `current(obj, fc)` | | Charge distribution | `charge(obj, fc)` | | Feed current | `feedCurrent(obj, freq)` | | E/H fields | `[e, h] = EHfields(obj, fc, points)` | | Set mesh | `mesh(obj, 'MaxEdgeLength', val)` | | Memory estimate | `memoryEstimate(obj, fc)` | | Switch to FEM solver | `pcb.SolverType = 'FEM'` | | FEM boundary condition | `s = solver(pcb); s.BoundaryCondition = 'absorbing'` | | Frequency sweep object | `fsweep = frequencySweep; sp = sparameters(obj, freq, 'SweepOption', fsweep)` | | Rational model from sweep | `rmodel = getRationalModel(fsweep)` | | Discover methods | `methods(obj)` | ## S-Parameter Extraction The `sparameters` function is the primary analysis method for all RF PCB components. ### Basic Usage ```matlab obj = design(couplerBranchline, 5e9); freq = linspace(1e9, 10e9, 101); sp = sparameters(obj, freq, 'SweepOption', 'interp'); figure; rfplot(sp); ``` ### Specifying Port Impedance ```matlab sp = sparameters(obj, freq, 50, 'SweepOption', 'interp'); % 50-ohm reference sp = sparameters(obj, freq, 75, 'SweepOption', 'interp'); % 75-ohm reference ``` ### Plotting Specific S-Parameters ```matlab rfplot(sp, [2 1], 1); % Plot S21 only rfplot(sp, [1 1], 1); % Plot S11 only rfplot(sp, 2:4, 1); % Plot S21, S31, S41 vs port 1 ``` ### Extracting Numeric Data ```matlab sp = sparameters(obj, freq, 'SweepOption', 'interp'); S21_dB = 20*log10(abs(squeeze(sp.Parameters(2,1,:)))); S11_dB = 20*log10(abs(squeeze(sp.Parameters(1,1,:)))); ``` ## Solver Selection RF PCB Toolbox supports two electromagnetic solvers: | Solver | Property Value | Best For | |--------|---------------|----------| | Method of Moments (MoM) | `'MoM'` (default) | Planar structures, open radiators | | Finite Element Method (FEM) | `'FEM'` | Shielded catalog elements; also available on pcbComponent via SolverType | ### Switching to FEM FEM is available via `pcbComponent`: ```matlab pcb = pcbComponent(couplerBranchline); pcb.SolverType = 'FEM'; sp_fem = sparameters(pcb, freq); ``` ### FEM Boundary Condition Configuration After setting `SolverType` to `'FEM'`, retrieve the solver object via `solver()` to configure boundary conditions: ```matlab pcb = pcbComponent(catalogObj); pcb.SolverType = 'FEM'; s = solver(pcb); % Returns em.solvers.fem.FEM object s.BoundaryCondition = 'absorbing'; % or 'perfectly-matched-layer' (default) ``` | Boundary Condition | Value | Use Case | |--------------------|-------|----------| | Perfectly Matched Layer (PML) | `'perfectly-matched-layer'` (default) | Open radiating structures, antennas | | Absorbing | `'absorbing'` | Shielded enclosures, waveguide ports | **Gotcha:** `solver(comp, 'SolverType', 'FEM')` errors with "Too many input arguments." `SolverType` is a property of `pcbComponent`, not an argument to `solver()`. `BoundaryCondition` is a property of the returned FEM solver object, not of the component. ### FEM Prerequisites The FEM solver (introduced R2025a) requires two dependencies: 1. **Integro-Differential Modeling Framework for MATLAB (IDMF)** — Install via Home > Add-Ons > search "Integro-Differential Modeling Framework for MATLAB". Verify with `matlab.addons.installedAddons`. 2. **Windows Subsystem for Linux (WSL)
Excerpt, 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-analyze-em/)
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
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.
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-analyze-em/)
<a href="https://modelsatlas.com/skills/matlab/matlab-analyze-em/"><img src="https://modelsatlas.com/skills/matlab/matlab-analyze-em/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Matlab Analyze Em
What does the Matlab Analyze Em skill do?
Is Matlab Analyze Em safe to install?
What can Matlab Analyze Em 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 Analyze Em skill do?
- Is Matlab Analyze Em safe to install?
- What can Matlab Analyze Em access on my machine?