https://ch.mathworks.com/help/matlab/ref/uibuttongroup.html
uibuttongroup - Create button group to manage radio buttons and toggle buttons - MATLAB
This MATLAB function creates a button group in the current figure and returns the ButtonGroup object.
create buttonradio buttonsgroup