A naive yet useful implementation of those will involve an element state which hold some information about the state of the checkbox or its meaning.
set(handles.checkbox, 'Value', 0);
set(handles.state, 'String', '0');
else
set(handles.checkbox, 'Value', 1);
set(handles.state, 'String', '1');
end