ButtonGroup for HG2

버전 1.2.0.0 (3.36 KB) 작성자: Clym Stock-Williams
Container object to manage radio or toggle buttons with the GUI Layout Toolbox - for 2014b onwards
다운로드 수: 298
업데이트 날짜: 2015/9/11

라이선스 보기

The ButtonGroup controls require the GUI Layout Toolbox by Ben Tordoff and David
Sampson available at:
http://www.mathworks.com/matlabcentral/fileexchange/47982-gui-layout-toolbox
The controls in this submissionshould be placed in the +uix folder in the GUI Layout Toolbox or in another folder called +uix that resides under a folder on your path.
Example:
gFig = figure();
gVButtonsBox = uix.VButtonGroup('Parent',gFig, 'Spacing',10,...
'ButtonSize', [200 40], 'ButtonStyle','radio',...
'HorizontalAlignment','left', 'VerticalAlignment','middle');
gVButtonsBox.Buttons = {'Button 1','Button 2', 'Button 3'};
gVButtonsBox.SelectionChangeFcn = {@(gSource,eventdata) disp(gSource.SelectedObject.String)};

인용 양식

Clym Stock-Williams (2024). ButtonGroup for HG2 (https://www.mathworks.com/matlabcentral/fileexchange/52965-buttongroup-for-hg2), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2014b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 App Building에 대해 자세히 알아보기
도움

받음: GUI Layout Toolbox

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.2.0.0

Fixed issue with buttons turning off with multiple presses

1.1.0.0

Slight tidy ups. NB. Any suggestions on how to improve it very welcome

1.0.0.0