I found that boxplot_percentwhisk does not handle negative-valued outliers correctly; all negative outliers are automatically cut off.
I removed the code from lines 91 - 94:
outliers = get(OUT(length(group_list)-i+1),'ydata');
outlier_index = find(outliers == data_highpercent(i));
outliers(1:outlier_index) = data_highpercent(i);
set(OUT(length(group_list)-i+1),'ydata',outliers);
and replaced it with the following code to fix the problem:
outliers_y = get(OUT(length(group_list)-i+1),'ydata', 'xdata');
outliers_x = get(OUT(length(group_list)-i+1),'xdata');
new_outlier_index = ((outliers_y < data_lowpercent(i)) | (outliers_y > data_highpercent(i)));
outliers_y = outliers_y(new_outlier_index); % Find the outliers that
outliers_x = outliers_x(new_outlier_index);
set(OUT(length(group_list)-i+1),'ydata',outliers_y, 'xdata',outliers_x);
This was very helpful to me; it finally allowed me to get the Real-Time Workshop working correctly. I did not have to change the reference to 'v6.1', but I am running Matlab R2009a.
I found the easiest way to set the environment variables listed in the 'readme' file was to use the Control Panel. The path through the Control Panel screens is: Control Panel: System: Advanced: Environment Variables.
I am running Matlab R2009a on Windows XP 64 Professional.