In makelocerrordistributions.m, line 20-22, the following lines (obviously) give errors: load('C:\Users\joche\Desktop\anaDDA\locdisttable.mat') input.locdist = locdist; input.rangex = rangex; -Koen