Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

wlanS1GConfig.packetFormat

Return S1G packet format

Syntax

format = packetFormat(cfg)

Description

format = packetFormat(cfg) returns the S1G packet format , based on the configuration of the S1G object.

Input Arguments

expand all

S1G PPDU configuration, specified as a wlanS1GConfig object.

Output Arguments

expand all

S1G packet format , specified as 'S1G-1M', 'S1G-Short', or 'S1G-Long'.

Examples

expand all

Create an S1G configuration object with default settings for a single user and change the default property settings by using dot notation. Use the packetFormat object function to access the S1G packet format of the object.

Create an S1G configuration object with default settings. By default, the configuration object creates properties to model the short S1G packet format.

cfgS1G = wlanS1GConfig;
packetFormat(cfgS1G)
ans = 
'S1G-Short'

Modify the defaults by using the dot notation to specify a long preamble.

cfgS1G.Preamble = 'Long';
packetFormat(cfgS1G)
ans = 
'S1G-Long'

Introduced in R2017b

Was this topic helpful?