This is the GUI-based routine that matches a MIDI score to a MIDI performance. You will need the rest of the MIDItoolbox https://www.jyu.fi/hum/laitokset/musiikki/en/research/coe/materials/miditoolbox and Matlab to use this.