source:
ResearchApps/PHY/WARPLAB/ResearchExamples/LTE_Setup/LTE_MATLAB_Reference_Files/1user_mimo/warplab_writeRegister.m
Last change on this file was 1590, checked in by mduarte, 14 years ago | |
---|---|
File size: 331 bytes |
Rev | Line | |
---|---|---|
[1590] | 1 | function result = warplab_writeRegister(nodeHandle, register_Id, parameter_Value) |
2 | ||
3 | packetNum = 1; | |
4 | ||
5 | ReadWrite = 1; % Set ReadWrite to 1 to write to register | |
6 | ||
7 | % Set the packet to be sent to the WARP node | |
8 | pktDataTx = [packetNum, register_Id, ReadWrite, parameter_Value]; | |
9 | ||
10 | datarec = warplab_pktSend(nodeHandle, pktDataTx); | |
11 |
Note: See TracBrowser
for help on using the repository browser.