Main Content

adsbCategory

Enumeration of Automatic Dependent Surveillance-Broadcast categories

Since R2021a

Description

The adsbCategory enumeration class implements the list of categories used by the International Civil Aviation Organization (ICAO) and described in ICAO Document 9871.

Creation

Description

example

cat = adsbCategory(category) creates an adsbCategory enumeration object with the specified category. category argument must be a valid category name, specified as a character vector or a string scalar. For example, adsbCategory('Obstacle') creates an Obstacle category. For a list of valid category names, see ADS-B Categories and Category Indices.

example

cat = adsbCategory(categoryIndex) creates an adsbCategory enumeration object using the specified category index. A valid categoryIndex is an integer from 0 to 15. For details, see ADS-B Categories and Category Indices.

The table lists the valid category names and their corresponding categoryIndex values. The argument values in the same row result in equivalent adsbCategory object creation.

ADS-B Categories and Category Indices

Category NameCategory Index Value
No_Category_Information0
Light1
Small2
Large3
High_Vortex_Large4
Heavy5
High_Performance6
Rotorcraft7
Glider_Sailplane8
Lighter_than_air9
Parachutist_Skydiver10
Ultralight11
Unmanned_Aerial_Vehicle12
Space_Vehicle13
Surface_Vehicle14
Obstacle15

Examples

collapse all

Create a UAV category using its category name.

uavCat = adsbCategory('Unmanned_Aerial_Vehicle')
uavCat = 
  adsbCategory enumeration

    Unmanned_Aerial_Vehicle

Create a UAV category using its category index.

uavCatByIndex = adsbCategory(12)
uavCatByIndex = 
  adsbCategory enumeration

    Unmanned_Aerial_Vehicle

Extended Capabilities

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

Version History

Introduced in R2021a