Main Content

Track Concatenation

Concatenate tracks

  • Library:
  • Sensor Fusion and Tracking Toolbox / Utilities

  • Track Concatenation block

Description

The Track Concatenation block concatenates track buses originating from multiple sources into a single list of object tracks. The sources to this block must all use the objectDetection format, and can be sensors, trackers, other track concatenation blocks, or other track-to-track fusion blocks. Use this block to concatenate tracks from multiple sources before passing them into the Track-To-Track Fuser block.

Ports

Input

expand all

Tracks to combine, where each track is a Simulink bus containing a MATLAB structure. See Create Nonvirtual Buses (Simulink) for more details.

You can find the definitions of the track lists in the Confirmed Tracks output port descriptions of the tracker blocks, such as the Global Nearest Neighbor Multi Object Tracker block.

By default, the block includes two ports for input detections. To add more ports, use the Number of input sensors to combine parameter.

Output

expand all

Combined tacks from all input buses, returned as a Simulink bus containing a MATLAB structure. See Create Nonvirtual Buses (Simulink). You can find the definitions of the track lists in the Confirmed Tracks output port descriptions of the tracker blocks, such as the Global Nearest Neighbor Multi Object Tracker block.

Parameters

expand all

Number of input track ports, specified as a positive integer. The input ports labeled In1, In2, …, InN, where N is the value set by this parameter.

Data Types: double

Source of the output bus name, specified as Auto or Property.

  • If you select Auto, the block automatically generates a bus name.

  • If you select Property, specify the bus name using the Specify an output bus name parameter.

Specify a name for the output bus.

Dependencies

To enable this parameter, set the Source of output bus name parameter to Property.

  • Interpreted execution — Simulate the model using the MATLAB interpreter. This option shortens startup time. In Interpreted execution mode, you can debug the source code of the block.

  • Code generation — Simulate the model using generated C/C++ code. The first time you run a simulation, Simulink generates C/C++ code for the block. The C code is reused for subsequent simulations as long as the model does not change. This option requires additional startup time.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2021a