MATLAB: How to use a result of a pushbotton in onther one

callbackfaqguipushbottonunicontrol

I would like to make a result which is executed in a callback of an unicontrol,be used in others..how can I do it please.