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.

DatagramTerminateMode

Configure terminate read mode when reading datagrams

Description

DatagramTerminateMode defines how fread and fscanf read operations terminate. You can configure DatagramTerminateMode to be on or off.

If DatagramTerminateMode is on, the read operation terminates when a datagram is read. When DatagramTerminateMode is off, fread and fscanf read across datagram boundaries.

Characteristics

Usage

UDP

Read only

Never

Data type

Character vector

Values

{on}

The read operation terminates when a datagram is read.

off

The read operation spans datagram boundaries.

See Also

Functions

fread, fscanf, udp

Was this topic helpful?