Source: https://cdn.vector.com/cms/content/know-how/_application-notes/AN-IMC-1-004_Interface_Programming_between_CANape_and_MATLAB.pdf