Changes between Version 15 and Version 16 of WARPLab/QuickStart


Ignore:
Timestamp:
Mar 29, 2013, 9:42:58 AM (11 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab/QuickStart

    v15 v16  
    3333disp(nodes)
    3434}}}
    35 Note: {{{N}}} can be changed to the number of nodes in your network. When you run these lines of code, you should see the User I/O LEDs on your {{{N}}} nodes blink as a result of the [wiki:WARPLab7/Reference/Commands/Node#identify 'identify'] command. Additionally, you should see your {{{nodes}}} object vector print status messages to the screen. For {{{N = 2}}}, your status display should be similar to
     35Note: {{{N}}} can be changed to the number of nodes in your network. When you run these lines of code, you should see the User I/O LEDs on your {{{N}}} nodes blink as a result of the [wiki:WARPLab7/Reference/Commands/Node#identify 'identify'] command. Additionally, you should see your {{{nodes}}} object vector print status messages to the screen. For {{{N = 2}}}, your status display should be similar to:
    3636{{{
    3737Displaying properties of 2 wl_node objects:
     
    4444}}}
    4545
    46  2. Try one of the example scripts in {{{M_Code_Examples}}}
     46 2. If the previous stepped work, you should now try one of the [wiki:WARPLab7/Examples M-Code Examples].
    4747
    48 
    49 === Optional: pnet Toolbox ===
    50 By default, WARPLab will use built-in java routines for performing network I/O. pnet, a custom UDP mex toolbox for matlab, is also supported, but the latest version is required. If you want to use pnet, please perform the following steps:
     48== Tips ==
     49=== MATLAB Object Oriented Syntax ===
     50=== Jumbo Frames ===
     51=== pnet Toolbox ===
     52By default, WARPLab will use built-in java routines for performing network I/O. pnet, a custom UDP mex toolbox for matlab, is also supported, but the latest version is required. pnet can offer modestly higher performance than the built-in java routines, but the usage of WARPLab is otherwise identical. If you want to use pnet, please perform the following steps:
    5153 1. Install the updated pnet IP/UDP toolbox for MATLAB
    5254  1. Checkout the source from [source:/PlatformSupport/pnet /PlatformSupport/pnet] (or {{{svn co http://warpproject.org/svn/WARP/PlatformSupport/pnet}}})
     
    5456    * For other platforms, compile the pnet mex function
    5557  1. Add the pnet folder to your MATLAB path. The pnet folder should contain pnet.m and th pnet.mex binary (i.e. pnet.mexw64)
    56   1. Verify pnet is recognized by running {{{pnet('version');}}} on the MATLAB command line. The output should print the version number (currently 2.0.6d)
    57 
    58 == Tips ==
    59 === Jumbo Frames ===
    60 === MATLAB Object Oriented Syntax ===
     58  1. Verify pnet is recognized by running {{{pnet('version');}}} on the MATLAB command line. The output should print the version number.
     59  1. Re-run the [wiki:WARPLab7/Reference/Utility#wl_setup 'wl_setup'] function in {{{M_Code_Reference}}}. The final prompt will be to select which type of transport you want to use. If you have added a compatible, compiled pnet to your path, the script will list it as an option you can select. Note: simply re-running 'wl_setup' and selecting java is sufficient for switching back to the built-in java routines. You do not need to explicitly remove pnet from your MATLAB path.