MATLAB: GUI checkbox set visibility

gui

Is it possible to hide the entire check box, then make it visible when conditions are met? I know I can have no text, then set that text when a condition is met, but can this be done for the actual checkbox part?

Best Answer

set(handles.checkbox1,'visible','off')
% or
set(handles.checkbox1,'visible','on')