And Botswana's Isaac Makwala - seen as one of the genuine contenders to win gold - was forced to miss the first rounds of the 200m after also being hit by the crippling stomach bug.
Public Health England confirmed that the athletes have norovirus, which can cause nausea, vomiting, abdominal pain, diarrhea, malaise and muscle pain, according to the Mayo Clinic.
London 2017 organisers said on Monday night that a number of teams had reported cases of gastroenteritis.
Martin, who placed 16th in the 10,000m at the Rio Olympics last summer, competed in the same event at the IAAF World Championships in London last weekend, where she had to step off the track with six laps remaining.
The IAAF said Makwala withdrew from the 200m "due to a medical condition on the instruction of the IAAF medical delegate".
Ireland's 400m hurdler Thomas Barr was also forced out of his semi-finals on Monday.
Public Health England London deputy director for health protection Dr Deborah Turbitt on Tuesday said, "PHE has been notified of a confirmed outbreak of norovirus among people associated with the World Athletics Championships".
A spokesman for the Tower Hotel says it has followed "strict hygiene protocol" and claim those affected aren't in contact with other guests.
The Canadian and German teams staying at the Tower hotel, near Tower Bridge, were believed to have been affected by the bug.
"Those affected have been supported by both team and local medical staff, in addition we have been working with Public Health England to ensure the situation is managed and contained", the organising committee said in a statement.
"It is highly infectious and with vast numbers of people - athletes, site personnel and visitors - in such close proximity, exposure to affected individuals can not be contained easily".
GENDER DEBATE Should Caster Semenya compete as a woman at London 2017 World Championships?
But while she may have quit worldwide athletics, that's not to say Martin's running career is totally over.