MATLAB 帮助中心
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.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处