Prince Philip is "continuing to make good progress" following his hospital treatment, a source has said, and is very keen to carry out the engagement in Edinburgh.
The Duke has been an honorary fellow of the Royal Society of Edinburgh since 1951 - one of his oldest patronages - and has presented Royal Medals on several occasions.
More top news
Tom Webb, 22, died after receiving a single stab wound to the chest on January 19 this year.
In the run-up to the Rio Olympic Games, ITV News speaks to four Olympic hopefuls in Team GB. Today we profile BMX rider Liam Phillips.
The 36-year-old has not been seen or heard from since Thursday evening.