The line of code you think is getting the value of the check box is actually calling the callback function. Try using the following code instead.
value = app.ColdWorkedHoleCheckBox.Value;
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!