MATLAB: Does the CAN Message Unpacking block not accept double as an input datatype in XPC Target 3.2 (R2007a)

blockcancandbcmessagereceiveSimulink Real-Timeunpacking

When I connect a Can Receive block with a CAN Message Unpacking (CANdb) block and run the model I receive the error message:
Error reported by S-function 'sfun_can_frame_inspector' in 'test/CAN Message Unpacking (CANdb)1/CAN Message Unpacking (CANdb)':
Invalid input signal data type.
The input signal data type is double.

Best Answer

The Can Message Packing Block does not have the ability to accept double datatype as input.
To work around this issue you can set a CAN Message Packing block in between the Receive block and the CAN Message Unpacking block.