This is a C-code of CubeMarker:Multi-Aspect Mining of Complex Sensor Sequences accepted for ICDM'19 as a regular paper.