**********************************************************************************
**********************************************************************************
**** NetwokExample DIRECTORY
**********************************************************************************
**********************************************************************************

This directory contains example files that demonstrate the use of the AVDS/Matlab
   toolbox for sending and receiving AVDS packets on the local network. For more 
   information on these file type help and the functiuon name in Matlab, i.e.
      help ExampleReceive
      help ExampleSend
      help NetworkSendSimulink

To run any of these examples, install the AVDS/Matlab toolbox, in Matlab, change 
   to the directory containing these examples and then follow the directions below.

**********************************************************************************
**** Matlab Examples
**********************************************************************************

ExampleReceive.m - a simple example using the AVDSNetwork receive functions. Receives 
                   packets for one second.
   - Run AVDS.
   - In AVDS, select "Network" and "Simulation" modes. 
   - Start the AVDS simulation.
   - Run ExampleReceive().
   - The output of this function will be the packets recieved.

ExampleSend.m - a simple example using the AVDSNetwork send functions
   - Run AVDS
   - In AVDS, select "Network" and "Observer" modes. 
   - Run the "ExampleSend" function in Matlab.
   - In AVDS, select the vehicle to view from AVDS's "Aircraft Image" menu:
     select "Initialize->Aircraft Image"
   - Press the AVDS Start button.
   Note: To stop Matlab from sending data packets, click in the Matlab window and 
         press Ctrl-C.


**********************************************************************************
**** Simulink Example
**********************************************************************************

NetworkSendExample.mdl - Simulink example that sends vehicle packets out on the 
   local network.
   - Run AVDS
   - In AVDS, select "Network" and "Observer" modes. 
   - Open the NetworkSendExample model file.
   - Start the Simulink simulation.
   - In AVDS, select the vehicle to view from AVDS's "Aircraft Image" menu:
     select "Initialize->Aircraft Image"
   - Press the AVDS Start button.

NetworkSendSimulink.m - Called by Simulink to calculate vehicle trajectories.


