check whether encoder.mat exists
Merge branch 'master' into octave