Launches and controls the MATLAB Radar Designer app via MCP for designing radar systems, configuring parameters, comparing radar types, and analyzing performance metrics like max range, SNR, and detection probability.
Ships in radar. 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; scripts run unread.
Launch and control the MATLAB Radar Designer app programmatically via MCP. Use this skill when a user asks about radar design parameters, wants to configure a radar system, compare radar types, analyze radar performance, or visualize radar metrics interactively in the Radar Designer app.
When this skill is first invoked without a specific user request, present the following example prompts to inspire the user:
Then wait for the user to type their own radar design question.
IMPORTANT
radarDesignerExport.mcp__matlab__evaluate_matlab_code tool must be availablescripts/ directory must be on the MATLAB path (set via project_path)Consult code-reference.md for detailed code patterns — including multi-radar comparison, session management, export, and range auto-tuning examples. The patterns below are summaries; code-reference.md is authoritative.
All Radar Designer operations go through 5 p-coded wrapper scripts in scripts/. Always set project_path to the skill's root directory when calling mcp__matlab__evaluate_matlab_code so the scripts are on the MATLAB path.
| Action | Call | Returns |
|---|---|---|
| Launch app | h = radarDesignerSession('launch') | App handle h |
| Reuse existing | h = radarDesignerSession('launch', h) | Same h if valid |
| Start new | radarDesignerSession('startNew', h, templateName) | — |
| Save session | radarDesignerSession('save', h, filePath) | — |
| Load session | radarDesignerSession('load', h, filePath) | — |
Templates: 'AirborneRadarSpec', 'AirportRadarSpec', 'AutomotiveRadarSpec', 'TrackingRadarSpec', 'WeatherRadarSpec'
| Action | Call | Returns |
|---|---|---|
| Set parameter | radarDesignerParam(h, 'set', specType, propName, value) | — |
| Get parameter | val = radarDesignerParam(h, 'get', specType, propName) | Property value |
| Set requirement | radarDesignerParam(h, 'setRequirement', reqIndex, propName, value) | — |
specType: 'Radar', 'Target', 'Environment'
| Action | Call | Returns |
|---|---|---|
| Read results | T = radarDesignerResults(h, 'read') | Table (16 metrics) |
| Auto-tune range | result = radarDesignerResults(h, 'autoTune', range_m) | Struct |
Results table columns: Metric, Units, Threshold, Objective, Result_<radarName>, Status_<radarName> (PASS/WARN/FAIL)
Auto-tune result fields: requestedRange_km, achievedRange_km, ratio, converged
| Action | Call | Returns |
|---|---|---|
| Add template | radarDesignerMultiRadar(h, 'add', templateName) | — |
| Clone current | radarDesignerMultiRadar(h, 'clone') | — |
| Select by index | radarDesignerMultiRadar(h, 'select', index) | — |
| Delete current | radarDesignerMultiRadar(h, 'delete') | — |
| List names | names = radarDesignerMultiRadar(h, 'names') | Cell array |
Add templates: 'AirborneRadar', 'AirportRadar', 'AutomotiveRadar', 'TrackingRadar', 'WeatherRadar'
The second argument must be an export type string — not a file path. Passing a file path (e.g.,
fullfile(...)) will error.
| App Menu Item | Call | Description |
|---|---|---|
| Export Detectability Analysis MATLAB Script | radarDesignerExport(h, 'detectability') | SNR vs Range, Pd vs Range, Environmental Losses, Link Budget |
| Export Vertical Coverage MATLAB Script | radarDesignerExport(h, 'coverage') | Vertical coverage plot |
| Generate Metrics Report | radarDesignerExport(h, 'report') | Formatted report of numeric metrics |
| Export Radar Data Generator MATLAB Script | radarDesignerExport(h, 'rdg') | Simulate radar detecting target in dynamic scenario (no refraction) |
| — Effective Earth Radius Model | radarDesignerExport(h, 'rdg', 'effectiveearth') | Requires non-free-space, curved Earth, std/low/mid/high latitude atmosphere |
| — CRPL Exponential Reference Model | radarDesignerExport(h, 'rdg', 'crpl') | Same environment requirements as Effective Earth |
h = radarDesignerSession('launch');
Always check if h already exists:
if ~exist('h','var') || ~isvalid(h)
h = radarDesignerSession('launch');
end
radarDesignerSession('startNew', h, 'TrackingRadarSpec');
radarDesignerParam(h, 'set', 'Radar', 'Frequency', 5e9); % 5 GHz
radarDesignerParam(h, 'set', 'Radar', 'PeakPower', 2e6); % 2 MW
radarDesignerParam(h, 'set', 'Target', 'RCS', 1); % 1 m²
radarDesignerParam(h, 'set', 'Environment', 'RainRate', 4); % 4 mm/hr
All values in SI units: frequency in Hz, power in W, range in m, etc.
When the user states a performance goal, set it as the Threshold on the matching requirement.
| User says | Req Index | Example call |
|---|---|---|
| "150 km range" | 2 (MaxRange) | radarDesignerParam(h, 'setRequirement', 2, 'Threshold', 150e3) |
| "10 m range resolution" | 6 (RangeResolution) | radarDesignerParam(h, 'setRequirement', 6, 'Threshold', 10) |
| "0.5° azimuth accuracy" | 10 (AzimuthAccuracy) | radarDesignerParam(h, 'setRequirement', 10, 'Threshold', 0.5) |
| "100 m/s first blind speed" | 7 (FirstBlindSpeed) | radarDesignerParam(h, 'setRequirement', 7, 'Threshold', 100) |
| "5 km min range" | 4 (MinRange) | radarDesignerParam(h, 'setRequirement', 4, 'Threshold', 5e3) |
Set both Threshold and Objective to the same value unless the user distinguishes a minimum acceptable (Threshold) from a desired goal (Objective).
If the user specifies a target range, you MUST run auto-tune BEFORE reading/reporting results:
result = radarDesignerResults(h, 'autoTune', 300e3); % 300 km target
The auto-tune adjusts peak power (and gain if needed) so the achieved range is within ±15% of the user's request. It also sets the MaxRange requirement threshold to the user's requested range.
Skip this step ONLY if the user did not mention a specific range target.
T = radarDesignerResults(h, 'read');
The returned table has 16 rows (one per metric) with columns: Metric, Units, Threshold, Objective, and per-radar Result_<name> and Status_<name> columns.
Status values: PASS (meets objective), WARN (between threshold and objective), FAIL (does not meet threshold).
See code-reference.md for complete patterns.
| Property | Description | Units | Example |
|---|---|---|---|
Frequency | Carrier frequency | Hz | 3e9 |
PulseBandwidth | Pulse bandwidth | Hz | 20e6 |
PeakPower | Peak transmit power | W | 15e6 |
pulsewidth | Pulse duration | s | 1e-3 |
prf | Pulse repetition frequency | Hz | 1000 |
CarrierWaveInput | Input type for carrier wave | enum | 'Frequency' or 'Wavelength' |
PowerInput | Input type for power | enum | 'PeakPower' or 'AveragePower' |
PulseDurationInput | Input type for duration | enum | 'PulseWidth' or 'DutyCycle' |
PulseRepetitionInput | Input type for PRF | enum | 'PRF' or 'PRI' |
| Property | Description | Units | Example |
|---|---|---|---|
SystemNoiseInput | Noise input type | enum | 'Temperature' or 'Figure' |
NoiseTemperature | System noise temperature | K | 290 |
referenceNoiseTemperature | Reference noise temp | K | 290 |
QuantizationNoise | Enable quantization noise | logical | true/false |
QuantizationNumBits | ADC bits | integer | 12 |
QuantizationDynamicRange | ADC dynamic range | dB | 60 |
| Property | Description | Units | Example |
|---|---|---|---|
AntennaHeight | Antenna height above ground | m | 75 |
TiltAngle | Antenna tilt angle | deg | 0 |
Polarization | Antenna polarization | enum | 'H', 'V', 'Circular' |
TxGain | Transmit antenna gain | dBi | 40 |
TxAzBeamwidth | Tx azimuth beamwidth | deg | 2 |
TxElBeamwidth | Tx elevation beamwidth | deg | 2 |
DifferentRx | Use different Rx antenna | logical | false |
RxGain | Receive antenna gain | dBi | 40 |
RxAzBeamwidth | Rx azimuth beamwidth | deg | 2 |
RxElBeamwidth | Rx elevation beamwidth | deg | 2 |
TxGainInput | Tx gain input mode | enum | 'FromAntennaPattern' or 'SincPattern' |
RxGainInput | Rx gain input mode | enum | 'FromAntennaPattern' or 'SincPattern' |
TxSincInput | Tx sinc pattern option | enum | 'Sinc' or 'Gaussian' |
| Property | Description | Units | Example |
|---|---|---|---|
Scanning | Scan type | enum | 'None', 'Mechanical', 'Electronic' |
AzScanSectorMech | Mechanical az scan sector | deg | 360 |
AzScanSectorElec | Electronic az scan sector | deg | 120 |
ElScanStart | Elevation scan start | deg | 0 |
ElScanStop | Elevation scan stop | deg | 30 |
| Property | Description | Units | Example |
|---|---|---|---|
Pfa | Probability of false alarm | probability | 1e-6 |
NumPulses | Number of pulses integrated | integer | 10 |
PulseIntegration | Integration type | enum | 'Coherent', 'Noncoherent' |
NumCPIs | Number of CPIs | integer | 1 |
BinaryIntegration | Enable binary integration | logical | false |
NumBinaryDetections | Binary detection threshold | integer | depends |
MofNCPIIntegration | Enable M-of-N CPI integration | logical | false |
MNumCPIs | M threshold for M-of-N | integer | depends |
| Property | Description | Units | Example |
|---|---|---|---|
ConfirmationThreshM | M for M/N confirmation | integer | 3 |
ConfirmationThreshN | N for M/N confirmation | integer | 5 |
TrackUpdateInput | Track update input type | enum | 'TrackUpdateRate' or 'TrackUpdateTime' |
TrackUpdateTime | Track update time | s | 1 |
| Property | Description | Units | Example |
|---|---|---|---|
STC | Enable STC | logical | false |
STCCutOffRange | STC cutoff range | m | 50000 |
STCExponent | STC exponent | scalar | 4 |
CFAR | Enable CFAR | logical | false |
CFARNumCells | CFAR reference cells | integer | 20 |
CFARMethod | CFAR method | enum | 'CA', 'OS', 'GO', 'SO' |
MTI | Enable MTI filter | logical | false |
MTICanceller | MTI canceller order | integer | 2 |
MTINullVelocity | MTI null velocity | m/s | 0 |
MTIMethod | MTI method | enum | depends |
Eclipsing | Enable eclipsing loss | logical | false |
CustomLoss | Additional custom loss | dB | 0 |
Do not use
'Height'as a property name. The property isTargetHeight, notHeight. The value'Height'is an enum value forTargetPositionInputType, not a settable property.
| Property | Description | Units | Example |
|---|---|---|---|
RCS | Radar cross section | m² | 1 |
SwerlingModel | Swerling fluctuation model | enum | 'Swerling0'...'Swerling4' |
TargetPositionInputType | Input type | enum | 'Height' or 'Elevation' |
TargetHeight | Target height/altitude | m | 10000 |
TargetElevation | Target elevation angle | deg | 5 |
MaxAcceleration | Max target acceleration | m/s² | 50 |
Name | Target name | string | 'Target 1' |
| Property | Description | Units | Example |
|---|---|---|---|
FreeSpace | Free space propagation | logical | true |
AtmosphericGasLoss | Gas absorption enabled | logical | true |
LensLoss | Lens effect enabled | logical | true |
PropagationFactor | Propagation factor model | logical | true |
EarthModel | Earth model type | enum | 'Flat', 'Curved' |
SurfaceType | Surface type | enum | 'Sea', 'Land', 'Custom' |
RainRate | Rain rate | mm/hr | 4 |
PrecipitationType | Precipitation type | enum | 'Rain', 'Snow', 'Fog', 'Cloud' |
SeaStateNumber | Sea state (0-7) | integer | 3 |
LandType | Land type | enum | depends |
VegetationType | Vegetation type | enum | depends |
EffectiveEarthRadius | Effective earth radius | m | 8500000 |
Name | Environment name | string | 'Environment 1' |
| Index | Name | Description |
|---|---|---|
| 1 | MaxRangePd | Max range at detection probability |
| 2 | MaxRange | Maximum detection range |
| 3 | MDS | Minimum detectable signal |
| 4 | MinRange | Minimum range |
| 5 | UnambiguousRange | Unambiguous range |
| 6 | RangeResolution | Range resolution |
| 7 | FirstBlindSpeed | First blind speed |
| 8 | RangeRateResolution | Range-rate resolution |
| 9 | RangeAccuracy | Range accuracy |
| 10 | AzimuthAccuracy | Azimuth accuracy |
| 11 | ElevationAccuracy | Elevation accuracy |
| 12 | RangeRateAccuracy | Range-rate accuracy |
| 13 | PtrueTrack | True track probability |
| 14 | PfalseTrack | False track probability |
| 15 | EIRP | EIRP |
| 16 | PowerAperture | Power-aperture product |
Each requirement has: Objective, Threshold.
Always present results to the user in the following structured format:
Use Unicode box-drawing characters to render a clean table.
Single radar:
┌───────────────────────┬────────────┬────────┐
│ Metric │ Value │ Status │
├───────────────────────┼────────────┼────────┤
│ Max Range │ 315.1 km │ PASS │
├───────────────────────┼────────────┼────────┤
│ Range Resolution │ 7.5 m │ PASS │
├───────────────────────┼────────────┼────────┤
│ First Blind Speed │ 53.5 m/s │ WARN │
└───────────────────────┴────────────┴────────┘
Multi-radar comparison:
┌───────────────────────┬────────────┬────────────┬─────────┐
│ Metric │ Radar A │ Radar B │ Winner │
├───────────────────────┼────────────┼────────────┼─────────┤
│ Max Range │ 315.1 km │ 222.6 km │ Radar A │
├───────────────────────┼────────────┼────────────┼─────────┤
│ First Blind Speed │ 53.5 m/s │ 26.8 m/s │ Radar A │
└───────────────────────┴────────────┴────────────┴─────────┘
Table rules:
After the table, provide 2-4 bullet points covering:
End with a 1-2 sentence summary or recommendation.
UI Auto-Updates: All parameter changes fire events that update the web UI automatically — no manual refresh needed.
Handle Persistence: The variable h must persist in the MATLAB base workspace between calls. Each evaluate_matlab_code call shares the same workspace, so h remains available.
Startup Timing: The app takes 5-10 seconds to initialize. radarDesignerSession('launch') handles the wait automatically.
Always Use project_path: When calling mcp__matlab__evaluate_matlab_code, set project_path to the skill's root directory so the wrapper scripts in scripts/ are on the MATLAB path.
Property Names Are Case-Sensitive: Use exact names from the property reference tables above.
Range Auto-Tuning Is Mandatory: When the user specifies a target range, ALWAYS run radarDesignerResults(h, 'autoTune', range_m) BEFORE reading results. Never report a design that overshoots or undershoots the user's requested range by more than 30%.
Always Report Pass/Fail: When presenting results, always include the Status (PASS/WARN/FAIL) for each metric and explicitly call out which requirements are not met.
SI Units: All parameter values must be in SI units — frequency in Hz (not GHz), power in W (not MW), range in m (not km).
Always Consult code-reference.md: Before writing code for multi-radar comparison, session management, export, or before/after analysis, load and follow the patterns in code-reference.md.
Copyright 2026 The MathWorks, Inc.
manifest.yaml (opens in a new tab)references/code-reference.md (opens in a new tab)scripts/radarDesignerExport.p (opens in a new tab)scripts/radarDesignerMultiRadar.p (opens in a new tab)scripts/radarDesignerParam.p (opens in a new tab)scripts/radarDesignerResults.p (opens in a new tab)scripts/radarDesignerSession.p (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
radar-design, matlab-mcp, radar-toolbox, performance-analysis
5 skills in this plugin
/matlab-design-radar-waveformDesign, select, and analyze waveforms for radar, sonar, and active sensing using the Phased Array System Toolbox. Covers LFM, NLFM, FMCW, phase-coded, CW, stepped FM, custom IQ, ambiguity functions, sidelobe reduction, and Doppler tolerance. Key objects: phased.LinearFMWaveform, phased.NonlinearFMWaveform, phased.CustomFMWaveform, phased.PhaseCodedWaveform, phased.FMCWWaveform, phased.SteppedFMWaveform, phased.MFSKWaveform, phased.RectangularWaveform, nlfmspec2freq, shapespectrum, ambgfun, pambgfun, sidelobelevel, legendreseq, mlseq, radarWaveformGenerator.
/matlab-design-scenarioDesign, simulate, and analyze 3D scenarios with terrain, buildings, actors, trajectories, and analyses. Use when evaluating visibility or geometric paths between moving actors, planning sensor or antenna placement in urban environments, simulating vehicle or aircraft routes, or analyzing line-of-sight and geometric ray trace propagation over terrain and buildings. Also use when the user mentions 3D Scenarios or scenario(). Not for radarScenario, drivingScenario, uavScenario, trackingScenario, satelliteScenario, RoadRunner Scenario or Scenario Builder driving scenarios, or txsite and siteviewer coverage maps.
/radar:matlab-design-radarfrom radar
npx claudepluginhub matlab/matlab-agentic-toolkit --plugin radarOther plugins' skills for the same job