write
Description
write(
writes 5G new radio (NR) medium access control (MAC) packets to a packet capture (PCAP) or
packet capture next generation (PCAPNG) file (nrPCAPW
,packet
,timestamp
).pcap
or
.pcapng
, respectively) specified by the NR PCAP or PCAPNG file writer
object, nrPCAPW
. Input packet
specifies the 5G NR
MAC packet, and input timestamp
specifies the packet arrival
time.
write(
specifies options using one or more name-value arguments. For example,
nrPCAPW
,packet
,timestamp
,Name=Value
)PacketFormat='bits'
sets the format of the 5G NR MAC packets to
bits.
Examples
Input Arguments
References
[1] Tuexen, M. “PCAP Next Generation (Pcapng) Capture File Format.” 2020. https://www.ietf.org/.
[2] “Development/LibpcapFileFormat - The Wireshark Wiki.” Accessed May 20, 2020. https://www.wireshark.org.
Extended Capabilities
Version History
Introduced in R2021b