matlab-integrate-pcb-circuit

Cascade RF PCB components with pcbcascade, terminate internal ports via pcbElement, and export S-parameters using rfwrite.

883|109|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-integrate-pcb-circuit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matlab-integrate-pcb-circuit
Source: https://github.com/matlab/matlab-agentic-toolkit/tree/main/skills-catalog/rf-and-mixed-signal/matlab-integrate-pcb-circuit
Command: npx skills add https://github.com/matlab/matlab-agentic-toolkit --skill matlab-integrate-pcb-circuit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you correctly cascade and integrate RF PCB components into circuit-level models without getting stuck on non-obvious port matching, internal lumped loading, and S-parameter export details.

Core Features & Use Cases

  • Cascade RF PCB components: Connect components end-to-end using pcbcascade, including options like creating a rectangular dielectric board and using interactive port alignment.
  • Integrate into RF Toolbox circuits: Wrap PCB structures as circuit elements with pcbElement for hybrid distributed + lumped modeling.
  • Load internal ports and export Touchstone: Use internal AnalysisPorts, PortNumber, and PortValue to terminate gaps/feeds with resistors, capacitors, or inductors, then export computed S-parameters with rfwrite for downstream workflows like Signal Integrity Toolbox eye diagrams or antenna array integration.

Quick Start

Use matlab-integrate-pcb-circuit to cascade your RF PCB components, terminate internal ports with lumped elements, and export the resulting S-parameters to a Touchstone file for Touchstone-based system workflows.

Frequently Asked Questions about matlab-integrate-pcb-circuit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I cascade RF PCB components in MATLAB?

To cascade RF PCB components in MATLAB, use the `pcbcascade` function to connect components end-to-end, including options for creating rectangular dielectric boards and interactive port alignment.

How do I add internal lumped elements to PCB ports in MATLAB?

Add internal lumped elements like resistors, capacitors, or inductors to PCB ports by configuring `pcbElement` with `AnalysisPorts`, `PortNumber`, and `PortValue` to terminate gaps or feeds.

How do I export S-parameters to a Touchstone file from MATLAB?

Export computed S-parameters to a Touchstone file from MATLAB using the `rfwrite` function with appropriate Touchstone options for downstream workflows.

Can I use cascaded PCB structures in hybrid distributed and lumped circuit models?

Yes, you can wrap PCB structures as circuit elements using `pcbElement` to integrate them into RF Toolbox circuits for hybrid distributed and lumped modeling.

What downstream workflows can I use with exported PCB S-parameters?

Exported PCB S-parameters support downstream workflows like Signal Integrity Toolbox eye diagrams and antenna array integration by utilizing the generated Touchstone files.

Why is port mapping not working when I connect multiple PCB components?

Port mapping issues when connecting multiple PCB components often require interactive port alignment via `pcbcascade` to ensure correct end-to-end port matching and circuit-ready connectivity.