Changes between Version 16 and Version 17 of WARPLab/QuickStart
- Timestamp:
- Mar 29, 2013, 9:49:08 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WARPLab/QuickStart
v16 v17 48 48 == Tips == 49 49 === MATLAB Object Oriented Syntax === 50 Throughout the WARPLab MATLAB code, you will see a mix of equivalent ways of calling methods to various objects. Suppose you have an object {{{obj}}} in your workspace and that object has a method {{{method}}}. You can call this method in two completely equivalent ways: 51 52 {{{ 53 obj.method() 54 }}} 55 56 or 57 58 {{{ 59 method(obj) 60 }}} 61 62 As a more concrete example, the quick start step above that called the command {{{wl_nodeCmd(nodes,'identify');}}}. An equivalent way of issuing this command to the nodes in the network is {{{nodes.wl_nodeCmd('identify');}}} 63 64 50 65 === Jumbo Frames === 51 66 === pnet Toolbox ===