Catherine was due to attend the races with her husband the Prince of Wales and the King and Queen.