How to make visible static text by clicking on check box?
3 ビュー (過去 30 日間)
古いコメントを表示
Can anyone tell me how to make visible static text in GUI clicking on check box?
I made check box and static text,but text is visible no matter is check box turned on or off.
Thank you
0 件のコメント
採用された回答
Image Analyst
2015 年 1 月 11 日
編集済み: Image Analyst
2015 年 1 月 11 日
checkboxValue = get(handles.checkbox1, 'value')
if checkboxValue
set(handles.text1, 'Visible', 'on');
else
set(handles.text1, 'Visible', 'off');
end
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!