Delete track managed by
Create an ADS-B receiver.
receiver = adsbReceiver;
Define ADS-B messages generated from transponder
airbornePositionMessage = struct('ICAO','AAF123','Time', NaN,... 'Latitude',70, 'Longitude',30,'Altitude',2000,... 'Vnorth',250,'Veast',0,'ClimbRate',-1);
Call the receiver to generate tracks.
tracks = receiver(airbornePositionMessage,0)
tracks = objectTrack with properties: TrackID: 1 BranchID: 0 SourceIndex: 0 UpdateTime: 0 Age: 1 State: [6x1 double] StateCovariance: [6x6 double] StateParameters: [1x1 struct] ObjectClassID: 0 TrackLogic: 'History' TrackLogicState: 1 IsConfirmed: 1 IsCoasted: 0 IsSelfReported: 1 ObjectAttributes: [1x1 struct]
Delete the track.
tf = deleteTrack(receiver,1)
tf = logical 1
ID— Track identifier
Track identifier, specified as a track ID or an International Civil Aviation Organization (ICAO) ID. The track ID is an integer, where as an ICAO ID is a six-element character vector or a six-character string.