matlab runs through validate.hoc