But "there is no immediate threat to public health in Scotland," she said.
Several other people who came into close contact with the two individuals are however been closely monitored.
The Health Protection Agency said on Sunday that there had been no confirmed cases in Britain or anywhere in Europe.
The agency said it is "monitoring this situation closely, and is working with the UK government to review the current incident and any threat it poses to UK public health."
There has been no change to the World Health Organization (WHO) pandemic alert level, which is currently at WHO Phase 3, said the agency. This means a flu with "no or very limited human-to-human transmission," although WHO has warned of a potential global pandemic.
There are no current travel restrictions on those who are planning to visit the affected areas of Mexico or the United States, the HPA reported.
However, the agency gave general advice to travelers returning from affected areas, saying they should contact their doctors if they showed signs of influenza.
General advice about hygiene was also provided, such as covering the nose and mouth when coughing or sneezing and using a tissue wherever possible.
The Foreign and Commonwealth Office (FCO) has advised that travelers to Mexico should "avoid large crowds, shaking hands, kissing people as a greeting, or using the subway."
A distance of at least six feet (1.83 meters) from other persons should be maintained, the FCO suggested.