Skip to Main Content Skip to Search
Product Documentation

DatagramReceivedFcn - Specify callback function to execute when datagram is received

Description

You configure DatagramReceivedFcn to execute a callback function when a datagram has been received. The callback executes when a complete datagram is received in the input buffer.

If the RecordStatus property value is on, and a datagram-received event occurs, the record file records this information:

To learn how to create a callback function, refer to Creating and Executing Callback Functions

Characteristics

Usage

UDP

Read only

Never

Data type

Callback

Values

The default value is ''.

See Also

Functions

readasync, udp

Properties

DatagramAddress, DatagramPort, ReadAsyncMode

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS