??? Operands to the || and && operators must be convertible to logical scalar values. Error in ==> intavg at 37 while (ii read_gps_day_WHOTS_2014 at 146 gpslon1i=single(intavg(jd_gps,gpslon1,jd_ref)); Error in ==> AUTOflux_eval_WHOTS_2014 at 76 eval([ 'read_gps_day_', currentMname])