RF Toolbox and RF Blockset in MATLAB: S-parameter I/O, network conversions (S/Z/Y/ABCD/T/H/G, mixed-mode), cascade/de-embedding, rfbudget analysis, circuit composition, matching networks, amplifier stability, mixer spurs, rational fitting, SI channels, baseband processing, Circuit Envelope simulation.
Ships in rf-and-mixed-signal. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Design, analyze, and simulate RF systems in MATLAB -- from measured S-parameter data through full time-domain Circuit Envelope simulation. One unified workflow covering passive networks, active device characterization, system cascade budgets, and behavioral time-domain modeling.
Measured data workflows
System design and analysis
Circuit-level design
Time-domain and signal integrity
These apply across ALL RF Toolbox workflows. Violating them produces silent errors or blocks execution.
rfwrite blocks on existing files -- Always pass 'ForceOverwrite', true. Without it, MATLAB opens an interactive overwrite dialog that halts unattended execution.clone(element) for independent copies.'IFAmp' not 'IF Amp'.tiledlayout/nexttile -- Not subplot. For all multi-panel figures.rfparam returns complex, not dB -- Always use 20*log10(abs(rfparam(...))) for dB magnitude.sparameters(filename, Z0) is invalid -- Cannot pass reference impedance at load time. Load first, then newref(s, Z0).rfinterp1 interpolates real/imag independently -- Not magnitude and angle. Can produce artifacts near sharp resonances.cascadesparams and deembedsparams require identical frequency vectors. Always rfinterp1 to a common grid first.deembedsparams always requires 3 arguments -- (sMeasured, sFixture1, sFixture2). For one-sided, pass an ideal thru for the unused side.s2sdd option 1 (default) treats ports 1,2 as positive and 3,4 as negative. Verify which option matches your VNA port numbering.snp2smp argument order: ports before impedance -- snp2smp(s, portList, Z0), not snp2smp(s, Z0, portList).SignalBandwidth is required -- The 4th positional arg to rfbudget. Without it, NF/IP3/SNR remain empty.rfelement, NF should equal abs(Gain). Prefer attenuator which handles this automatically.nport Name is positional -- nport('file.s2p', 'MyName'), not name-value syntax.ResponseType is shape, FilterType is algorithm -- rffilter('FilterType', 'Bandpass') errors. Use rffilter('ResponseType', 'Bandpass').show(b) opens a GUI -- Produces no command-window output. Use properties (b.TransducerGain, b.NF) for programmatic access.setports/setterminals can only be called once -- Plan topology before defining terminals.add(ckt, [in out inRef outRef], elem) for amplifier, modulator, nport, all txline types. Primitive 2-terminal elements (resistor, capacitor, inductor) use 2-node mapping.resistor(100, 'R1'), not resistor('Resistance', 100).setterminals takes a node vector -- setterminals(ckt, [1 2]), not setterminals(ckt, 1, 2).powergain gain type string must be last -- powergain(s, 50, 50, 'Gt'), not powergain(s, 'Gt', 50, 50).powergain returns linear, not dB -- Convert with 10*log10(g) (power gain uses 10x, not 20x).Gmag returns NaN when conditionally stable -- Use Gmsg at frequencies where K < 1.rational vs rationalfit -- Use rational for new code (AAA). Use rationalfit only for delay extraction.iscell(result).freqresp takes Hz -- Not rad/s. Pass s.Frequencies directly.Vin = sqrt(Pin_W). This differs from rfsystem which uses 50-ohm.PassFreq_bp=[2.395e9 2.405e9] means absolute GHz. Not baseband offsets.release(obj) before modifying Nontunable properties.rfsystem takes an rfbudget, not raw elements.close_system needs save flag -- Use close_system(rfs, 0) to discard changes.| Task | Entry Point | Details |
|---|---|---|
| Load/plot S-parameters | sparameters, rfplot, smithplot | reference/sparameters-io.md |
| Convert S/Z/Y/ABCD, mixed-mode | zparameters, s2sdd, snp2smp | reference/network-conversions.md |
| Cascade or de-embed networks | cascadesparams, deembedsparams | reference/cascade-deembed.md |
| Create rfbudget elements | amplifier, modulator, rffilter, etc. | reference/rfbudget-elements.md |
| Run cascade budget analysis | rfbudget, rfplot(b, 'Pout') | reference/rfbudget-analysis.md |
| Compose RF circuits | circuit, add, setports | reference/circuit-composition.md |
| Design matching networks | matchingnetwork, richards | reference/matching-networks.md |
| Analyze amplifier stability/gain | stabilityk, powergain, gammams | reference/amplifier-analysis.md |
| Mixer spurs and IF planning | mixerIMT, OpenIF | reference/mixer-analysis.md |
| Fit rational models, TDR | rational, stepresp, generateSPICE | reference/rational-fitting.md |
| Build SI channel models | nport + txlineWRLGC + circuit | reference/si-channel-modeling.md |
| Process complex baseband | rf.Amplifier, rf.Mixer, rf.Filter | reference/baseband-processing.md |
| Time-domain system simulation | rfsystem, Circuit Envelope | reference/system-simulation.md |
tiledlayout/nexttile for multi-panel figures (not subplot)'LNA', 'DCBlock', 'PCBTrace')clone() liberally for element reuseFor design, analysis, or sweep tasks -- write code to .m files on disk, not inline snippets. For quick one-off checks, inline evaluate_matlab_code is fine.
tiledlayout/nexttile instead of subplotdatetime instead of datenumrational instead of rationalfit (unless delay extraction needed)smithplot instead of smithrfplot for S-parameter visualization (handles dB conversion automatically)Load the relevant reference file before writing code for a specific workflow. Each reference contains correct calling conventions, constructor arguments, property names, gotchas, and executable code patterns.
Copyright 2026 The MathWorks, Inc.
manifest.yaml (opens in a new tab)reference/amplifier-analysis.md (opens in a new tab)reference/amplifier-models.md (opens in a new tab)reference/amplifier-nonlinear-models.md (opens in a new tab)reference/baseband-processing.md (opens in a new tab)reference/cascade-deembed.md (opens in a new tab)reference/circle-computations.md (opens in a new tab)reference/circuit-composition.md (opens in a new tab)reference/ifft-step-response.md (opens in a new tab)reference/lumped-to-distributed.md (opens in a new tab)reference/matching-networks.md (opens in a new tab)reference/mixer-analysis.md (opens in a new tab)reference/network-conversions.md (opens in a new tab)reference/rational-fitting.md (opens in a new tab)reference/rfbudget-analysis.md (opens in a new tab)reference/rfbudget-elements.md (opens in a new tab)reference/rffilter-synthesis.md (opens in a new tab)reference/si-channel-modeling.md (opens in a new tab)reference/sparameters-io.md (opens in a new tab)reference/system-simulation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/rf-and-mixed-signal:matlab-model-rffrom rf-and-mixed-signal
npx claudepluginhub matlab/matlab-agentic-toolkit --plugin rf-and-mixed-signal21 skills in this plugin
/matlab-analyze-ams-waveformAnalyze AMS waveform data using Mixed-Signal Blockset utilities: phase noise measurement, clock jitter, anti-aliased resampling, timing measurements, lock time, INL/DNL, ADC/DAC calibration, HSpice import. Use when analyzing time-domain voltage from PLL/VCO/clock simulations, measuring phase noise from variable-step solver output, computing jitter, or resampling non-uniform data./matlab-analyze-antenna-structuresDesign and analyze electrically large antenna structures using MATLAB Antenna Toolbox. Covers reflector antennas (parabolic, Cassegrain, Gregorian, offset, corner, cylindrical, spherical, custom STL), reflectarrays and reconfigurable intelligent surfaces (RIS), antennas installed on platforms (vehicles, aircraft, ships, satellites), and radar cross section (RCS) analysis. Includes solver selection (MoM-PO, PO, MoM, FMM), mesh control, and GPU acceleration. Use when the user wants to design a dish/reflector antenna, reflectarray, analyze an antenna on a platform, or compute RCS.
/matlab-analyze-emS-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).Other plugins' skills for the same job