In some languages, packing will auto select data type based on values. For instance, 4.000 will be packed as uint8. So when we unpack that in Matlab, unpacker auto detects msg type and push it as uint8 to Matlab. Since we expected double type number, it might cause problem with matlab function that requires double
In some languages, packing will auto select data type based on values. For instance, 4.000 will be packed as uint8. So when we unpack that in Matlab, unpacker auto detects msg type and push it as uint8 to Matlab. Since we expected double type number, it might cause problem with matlab function that requires double