I notice that you are using a fairly old version of MATLAB.
Still, uibuttongroup() should have been defined in your MATLAB.
Try
restoredefaultpath; rehash toolboxcache
and see if that helps. If it does not, you might need to reinstall MATLAB.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!