Changes between Version 3 and Version 4 of WARPLab/Reference/Commands/Interface
- Timestamp:
- Mar 26, 2013, 1:57:02 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WARPLab/Reference/Commands/Interface
v3 v4 4 4 5 5 Interface commands are selected as string inputs to the {{{wl_interfaceCmd}}} method in [browser:ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Reference/classes/wl_node.m wl_node.m]. These strings are each individual cases of the switch statement in {{{procCmd}}} method of [browser:ResearchApps/PHY/WARPLAB/WARPLab7/M_Code_Reference/classes/wl_interface_group_X245.m wl_interface_group_X245.m]. 6 7 == Syntax == 8 MATLAB allows two valid forms of syntax for calling methods 9 10 * Let {{{N}}} be a scalar or vector of {{{wl_node}}} objects 11 * Let {{{command_string}}} be a string containing a particular command 12 * Let {{{arg}}} be an argument for that command (optional) 13 14 Syntax 1: {{{wl_interfaceCmd(N, command_string, arg1, arg2, ..., argN)}}} 15 16 Syntax 2: {{{N.wl_interfaceCmd(command_string, arg1, arg2, ..., argN)}}} 17 18 These two different forms of syntax are identical and either may be used for issuing commands to WARP nodes. 19 20 21 == Command List and Documentation == 6 22 7 23 === {{{tx_en}}} ===