When a task ends, NIMH ML pops up a summary window of behavioral data. If this summary is not useful, you can suppress it or create your own summary. To do so, create a "behaviorsummary.m" file in your task directory and write a function like the following.
function behaviorsummary(filename)
end
If you want to suppress the summary window, just leave the function blank as above. Otherwise, add code to read data from the given filename and analyze.
function behaviorsummary(filename)
data = mlread(filename);
figure;
hist([data.TrialError]);
end