The Prince of Wales and Duchess of Cornwall have opened a new wing at the Headley Court military rehabilitation unit in Surrey.
The couple officially unveiled the £16.9m Jubilee Rehabilitation Complex at the centre near Leatherhead.
It has a therapy building, radiology department and a flat where patients can learn to live independently.
The royal couple also met injured servicemen and women who are being treated at Headley Court.
Staff and crowds of children waved flags and cheered as the prince and duchess made their way around the grounds of the centre.
The official opening was also attended by armed forces personnel and veterans who competed in the London 2012 Paralympic Games.
The Ministry of Defence is fully funding the wing, which also includes a second prosthetics department, radiology department and an open-plan gym.
Headley Court commanding officer Gp Capt Clare Walton said: "On behalf of all the patients and staff at Headley Court, I would like to thank their royal highnesses for officially opening the Jubilee Rehabilitation Complex.
"I know the new facilities will enable our staff to continue to provide the very best of care to our patients and to keep Headley Court at the forefront of rehabilitation and prosthetics."
In June 2010 Prince William opened the Help for Heroes Rehabilitation Complex at Headley Court, which contains a swimming pool and gym complex.