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
Line 
1function result = warplab_writeRegister(nodeHandle, register_Id, parameter_Value)
2
3packetNum = 1;
4
5ReadWrite = 1; % Set ReadWrite to 1 to write to register
6
7% Set the packet to be sent to the WARP node
8pktDataTx = [packetNum, register_Id, ReadWrite, parameter_Value];
9
10datarec = warplab_pktSend(nodeHandle, pktDataTx);
11
Note: See TracBrowser for help on using the repository browser.