first version exam_winpara.m
adding manually select event function, optional