phyType

Return DMG PHY modulation type

Description

example

type = phyType(cfg) returns the DMG physical layer (PHY) modulation type, based on the configuration of the DMG object.

Examples

collapse all

Create DMG configuration objects and change the default property settings by using dot notation. Use the phyType object function to access the DMG PHY modulation type.

Create a DMG configuration object and return the DMG PHY modulation type. By default, the configuration object creates properties to model the DMG control PHY.

dmg = wlanDMGConfig;
phyType(dmg)
ans = 
'Control'

Model the SC PHY by modifying the defaults by using the dot notation to specify an MCS of 5.

dmg.MCS = 5;
phyType(dmg)
ans = 
'SC'

Input Arguments

collapse all

DMG PPDU configuration, specified as a wlanDMGConfig object.

Output Arguments

collapse all

DMG PHY modulation type, specified as 'Control', 'SC', or 'OFDM'.

Data Types: char | string

See Also

Objects

Introduced in R2017b