Iran has banned men and women from using educational facilities at the same time.