UDP Communications between Target and Host PC

From Mech
Revision as of 23:30, 2 June 2006 by Hwang (Talk | contribs)
Jump to: navigation, search


Mathworks UDP Documentation

Click here to read Mathworks's documentation on UDP communications in XPC Target:UDP Documentation.

Sample UDP Models

Sample Mathworks Models:Mathworks UDP sample models.

Quick and Dirty Data Logging Model

Here is a crude and simple system that will use the Host PC to log data sent from the Target PC. Load udpsend.mdl onto the Target PC, and run udprec.mdl in Simulink on the Host PC. The target PC will send a timestamp and a 3-by-3 matrix of data; the host PC will receive this data, record the data into the workspace, and print it out in the MATLAB command prompt in real time.

Download the files here: UDP sample.

Personal tools