Main Content

Using the Radar Data Generator Block

Open and run the Radar Data Generator block in Simulink™.

% Create a Tracking scenario object.
scene = trackingScenario;

% Create a stationary radar platform 10 meters above the origin.
rdrPlat = platform(scene,'Position',[0 0 10]);

% Create a moving target 100 meters away and also 10 meters
% above the surface. The target moves at 10 m/s away from the radar.
tgtPlat = platform(scene,'Position',[100 0 10]);
tgtPlat.Trajectory.Velocity = [10 0 0];

% Open and run the Simulink model.
% Display the detections.
model = 'simpleModel';
open_system(model);
sim(model);