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
Weather throws a wobbly as it's seriously disappointing for summer.
The Bank of England governor has suggested there may soon be a cut in interest rates.
The motorist at the wheel of a self-driving car has died after it crashed with a trailer, the first Autopilot death reported in the US.