Help CenterHelp Center
Packet transmission time
Since R2022b
t = transmitTime(cfg)
t = transmitTime(cfg,unit)
t = transmitTime(cfg) returns the packet transmission time in seconds for the physical layer (PHY) format configuration specified in cfg.
t
cfg
example
t = transmitTime(cfg,unit) specifies unit, the unit in which the function returns the packet transmission time.
unit
collapse all
Create an HE SU configuration object for a 40 MHz transmission.
cfgHE = wlanHESUConfig; cfgHE.ChannelBandwidth = 'CBW40';
Calculate and display the packet transmission times in seconds and milliseconds.
t = transmitTime(cfgHE)
t = 1.1600e-04
t_milli = transmitTime(cfgHE,'milliseconds')
t_milli = 0.1160
wlanDMGconfig
wlanEHTMUConfig
wlanEHTTBConfig
wlanHEMUConfig
wlanHESUConfig
wlanHETBConfig
wlanHTConfig
wlanNonHTConfig
wlanS1GConfig
wlanVHTConfig
wlanWURConfig
PHY format configuration, specified as one of these objects: wlanDMGConfig, wlanEHTMUConfig, wlanEHTTBConfig, wlanHEMUConfig, wlanHESUConfig, wlanHETBConfig, wlanHTConfig, wlanNonHTConfig, wlanS1GConfig, wlanVHTConfig, or wlanWURConfig.
wlanDMGConfig
'seconds'
'milliseconds'
'microseconds'
'nanoseconds'
The unit of the returned packet transmission time, specified as one of 'seconds', 'milliseconds', 'microseconds', or 'nanoseconds'.
Data Types: char | string
char
string
Packet transmission time, returned as a positive scalar.
When you do not specify unit, or specify unit as 'seconds', the time is returned in seconds.
When you specify unit as 'milliseconds', the time is returned in milliseconds.
When you specify unit as 'microseconds', the time is returned in microseconds.
When you specify unit as 'nanoseconds', the time is returned in nanoseconds.
expand all
You can specify the input cfg as an object of type wlanEHTTBConfig.
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office