matlab functions and drivers for AOH test box