| Contents | Index |
value = unpack(message, startbit, signalsize, byteorder,
datatype)
value = unpack(message, startbit, signalsize, byteorder, datatype) takes a set of input parameters to unpack the signal value from the message and returns the value as output.
message |
The CAN message structure that you specify for the signal to be unpacked from. |
startbit |
The signal's starting bit in the data. This is the least significant bit position in the signal data. Accepted values for starbit are from 0 through 63. |
signalsize |
The length of the signal in bits. Accepted values for signalsize are from 1 through 64. |
byteorder |
The signal binary or binblock format. Accepted values are LittleEndian and BigEndian. |
datatype |
The data type that you want to get the unpacked value in. |
value |
The value of the message that you specify to be unpacked. |
value = unpack(message, 0, 16, 'LittlegEndian', 'int16')
canMessage | extractAll | extractRecent | extractTime | pack

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |