Clear Handle

How to reset/clear Static Text in MATLAB GUI?

I've been searching about an hour for what I presume is one simple line of code. I'm making a simple calculator in Matlab's GUI feature and I have a "C" push button that I just want to have clear the text field (ie--someone types an 8 on accident and wants to clear the static text field back to a blank field). How the heck do I do this? Just reset the field back to its original blank state as your usual calculator on Windows appears.

So far I've tried things like clear(handles.text1), reset(handles.text1), etc... but to no avail.

You need to set the string property of the text object to an empty string.
Here's an example, put all of this in an M-File, save it then call example at the command line:

function [] = example
f = figure('pos',[100 100 100 50],'menub','n')
tx = uicontrol('sty','ed','stri','8','pos',...
[10 20 30 20],'backg',[1 1 1]);
bu = uicontrol('sty','pus','stri','C','pos',[50 20 30 20],...
'call',{@pushcall,tx})

function pushcall(h,e,tx)
set(tx,'stri','') % This clears the string in the edit box.

Find Clear Handle On eBay Below:

12 1 2 PEDESTAL CLEAR GLASS CAKE PLATE GOLD ROSES FROSTED PETALS TAB HANDLES
12 1 2 PEDESTAL CLEAR GLASS CAKE PLATE GOLD ROSES FROSTED PETALS TAB HANDLES
$5.95
BEAUTIFUL VINTAGE BLOWN GLASS AMBER PITCHER VASE W APPLIED CLEAR HANDLE
BEAUTIFUL VINTAGE BLOWN GLASS AMBER PITCHER VASE W APPLIED CLEAR HANDLE
$75.00
Fostoria Clear Coin Glass Handled Nappy Bowl Candy Dish
Fostoria Clear Coin Glass Handled Nappy Bowl Candy Dish
$12.95
Footed Glass Tray handles Clear Beautiful vanity display
Footed Glass Tray handles Clear Beautiful vanity display
$4.96
Oval Clear Cut Glass Relish Dish with Handles Candy Trinket Jewelry
Oval Clear Cut Glass Relish Dish with Handles Candy Trinket Jewelry
$3.96
CARNIVAL GLASS OPEN HANDLED SUGAR BOWL MARIGOLD
CARNIVAL GLASS OPEN HANDLED SUGAR BOWL MARIGOLD
$7.00
Art Glass Cranberry Ruffled Basket with Applied Clear Handle
Art Glass Cranberry Ruffled Basket with Applied Clear Handle
$39.00
Imperial Amethyst Basket with Clear Handle Daisy Pattern
Imperial Amethyst Basket with Clear Handle Daisy Pattern
$23.50
Antique Souvenir Eapg 3 Handle Mug U S GLASS Illinois pattern Poughkeepsie NY
Antique Souvenir Eapg 3 Handle Mug U S GLASS Illinois pattern Poughkeepsie NY
$14.99
Beautiful Unbanded Clear Etched Frosted Floral Divided Handled Condiment Dish
Beautiful Unbanded Clear Etched Frosted Floral Divided Handled Condiment Dish
$12.99
Vintage Amber Crackle Glass Pitcher Clear Handle 4 Excellent Condition
Vintage Amber Crackle Glass Pitcher Clear Handle 4 Excellent Condition
$26.95
VINTAGE PYREX FLAMEWARE CLEAR GLASS AND METAL HANDLE
VINTAGE PYREX FLAMEWARE CLEAR GLASS AND METAL HANDLE
$16.99
Vintage Glass 115 Clear Ringed Banded Handled Tidbit Tray
Vintage Glass 115 Clear Ringed Banded Handled Tidbit Tray
$10.99
Vintage Federal Glass Clear Juicer Reamer Tab Handle Spout
Vintage Federal Glass Clear Juicer Reamer Tab Handle Spout
$9.99
PITCHER DEEP CRANBERRY BLOWN GLASS PITCHER VERY NICE CLEAR HANDLE
PITCHER DEEP CRANBERRY BLOWN GLASS PITCHER VERY NICE CLEAR HANDLE
$11.76
Handcut 24 Lead Crystal Clear Round Handled Bowl Basket Poland
Handcut 24 Lead Crystal Clear Round Handled Bowl Basket Poland
$12.50
Vtg Jeannette Glass Baltimore Pear Clear Handled Art Deco 75 Butter Dish Only
Vtg Jeannette Glass Baltimore Pear Clear Handled Art Deco 75 Butter Dish Only
$5.89
Cambridge Rose Point elegant clear glass 12 Caprice shape 4 ft handle oval bowl
Cambridge Rose Point elegant clear glass 12 Caprice shape 4 ft handle oval bowl
$69.99
2 clear glass Pitchers with solid Glass Bottoms AND Solid Crystal Handles
2 clear glass Pitchers with solid Glass Bottoms AND Solid Crystal Handles
$16.99
CURTIS MILES Amethyst Clear Glass Handle or Seal
CURTIS MILES Amethyst Clear Glass Handle or Seal
$49.99
Vintage Pyrex 2 cup 16 oz Measuring Cup with Handle Model 516
Vintage Pyrex 2 cup 16 oz Measuring Cup with Handle Model 516
$2.99
Fostoria 12 1 4 inch Crystal 2 Handled Tid Bit Tray
Fostoria 12 1 4 inch Crystal 2 Handled Tid Bit Tray
$19.99
Large Vintage Clear Glass Pedestal Style Compote with Handles and Dome Lid
Large Vintage Clear Glass Pedestal Style Compote with Handles and Dome Lid
$22.50
VINTAGE CLEAR FEDERAL GLASS MINI HALF SIZE SUGAR BOWL WITH HANDLES
VINTAGE CLEAR FEDERAL GLASS MINI HALF SIZE SUGAR BOWL WITH HANDLES
$18.99
USED PYREX FLAMEWARE REPLACEMENT HANDLES SET OF 2 FOR SAUCEPAN OR DOUBLE BOILER
USED PYREX FLAMEWARE REPLACEMENT HANDLES SET OF 2 FOR SAUCEPAN OR DOUBLE BOILER
$10.00
Vintage Cut Glass Cruet Clear With Stopper Applied Handle 6 Inches Tall
Vintage Cut Glass Cruet Clear With Stopper Applied Handle 6 Inches Tall
$15.00
Beautiful Light Blue Opalescent 5 Fenton Basket Clear Twist Applied Handle
Beautiful Light Blue Opalescent 5 Fenton Basket Clear Twist Applied Handle
$28.98
Vintage Central Glass KRYSTOL 6PC Lot Clear Loop Handle Panel Punch Cups 2 Tall
Vintage Central Glass KRYSTOL 6PC Lot Clear Loop Handle Panel Punch Cups 2 Tall
$25.99
Vtg Clear Glass Round Dish w Lid Bowl Candy Nuts Cut Crystal Circles handle
Vtg Clear Glass Round Dish w Lid Bowl Candy Nuts Cut Crystal Circles handle
$6.99
Fostoria American Glassware Handled 4 Square Nappy
Fostoria American Glassware Handled 4 Square Nappy
$4.99
Vintage Bormioli Rocco Clear Glass 32Qt Pitcher With Glass Handle Italy 9
Vintage Bormioli Rocco Clear Glass 32Qt Pitcher With Glass Handle Italy 9
$3.50
Vintage Jeanette Glass Creamer Pitcher and Handled Tray National Pattern Clear
Vintage Jeanette Glass Creamer Pitcher and Handled Tray National Pattern Clear
$9.99
Fostoria Century Clear Glass 2 Part Divided Relish Dish With Handles
Fostoria Century Clear Glass 2 Part Divided Relish Dish With Handles
$5.00
Set of 6 Crystal Clear Industries Wine Water Glasses Goblet and handled Decanter
Set of 6 Crystal Clear Industries Wine Water Glasses Goblet and handled Decanter
$35.98
EAPG CLEAR FROSTED FRUITS LARGE HANDLED WATER PITCHER
EAPG CLEAR FROSTED FRUITS LARGE HANDLED WATER PITCHER
$99.99
Vintage Clear Glass Juicer Reamer Large 8 size Ribbed Tab handle Pour spout
Vintage Clear Glass Juicer Reamer Large 8 size Ribbed Tab handle Pour spout
$16.27
Vintage Purple Glass Amythyst 4 Pitcher Clear Handle Excellent Condition
Vintage Purple Glass Amythyst 4 Pitcher Clear Handle Excellent Condition
$32.95
Vintage Ruby Red 4 Pitcher Ruby Red Crackle Glass Clear Handle EUC
Vintage Ruby Red 4 Pitcher Ruby Red Crackle Glass Clear Handle EUC
$38.95
VintFosttoria American Center Handled Sandwich Tray 11 1 2 Inches 2056
VintFosttoria American Center Handled Sandwich Tray 11 1 2 Inches 2056
$29.71
Vintage Clear Blue Glass Applied Handle Basket
Vintage Clear Blue Glass Applied Handle Basket
$19.95


Recently Purchased Clear Handle:


vintage hand blown clear glass attached oil amp; vinegar container handle stoppers, vintage clear glass fireking table trivet hot plate server tab handles, fostoria navarre crystal 3 part handled 2496 baroque 4 foot relish dish mint, hic citrus juicer reamer with handle and pour spout glass juicer, fenton miniature basket french opalescent w cobalt handle iridized 45 inches, vintage crystal cut glass candy dishashtray clear with gold handle, doublehandled crystal relish dish, pasabahce istanbul crystal set of 6 handled 150cc 5oz tumbler mugs glass elegant, steuben vintage clear crystal glass unusual handled bowl, tiffany amp; co 9 large round clear crystal handled refresher pitcher, vintage ruby red hand blown pinched art glass decanter wclear handle , crystal basket with handle 8 german hand cut mouth blown 24 lead crystal , clear ruffled bowl plate curved with handles, american brilliant period abp tab handled ice bucket , vintage clear pressed glass relish dish with handles oblong star 8 12 x 4, very small clear crystal depression juicerreamer flat handle star design, haufbauer byrde crystal bird feet and handle trinket dish, vtg pressed glass divided serv dish with handles flowerstarburst candy nut, carnival glass mauve colored creamer with clear handle, twos company blown thin art glass double handled bowls condimentsaucehobnail, antique cut glass wine decanter pitcherapplied handleintricate details, vintage oval pyrex casserole lid curled handles fits 9x7 dish, american brilliant period large gorgeous two handled vase abp abcg, ruffled crimped cranberry edges to clear crystal basket with applied handle, vintage depression glass clear 6 ounce handled juice glasses 4, anchor 9 x 13 backing dish with handles clear glass, pressed clear glass divided oblong dish satin glass rose handles 13 x 6, 3 clear pressed glass bowls vintage tab handle 2 tall 6 wide wavy sides, pasabahce turkey heavy crystal clear glass basket bowl amp; handle 6 x 7 tall, 4 handblown emerald green glass pitchervase wclear applied handle, vintage fireking 1 cup 8 oz measuring cup 496 d handle, vintage green glass creamer pitcher clear glass handle, corning ware french white stoneware clear lidwhite handle 25 qt casserole dish, imperial candlewick clear glass heart handled deviled egg platter 12, eapg small pressed glass pitcher cranberry glass w applied clear handle, vintage clear glass nappy dish whandles star burst design saw, anchor hocking clear 9 pie plate with handles 1 qt usa 3, pair vintage 4 blue crackle glass pitcher applied clear handle blenko, hand crafted glass creamer and sugar w applied handles foot bell flowers, flanders clear by silver city glass sterling overlay floral center handle tray, vintage orange carnival glass iridescent dish wclear branchlike handle, bird on branch bryce brothers glass beaded handle cup mug 3 section molded, vintage murano art glass basket w silver flecks mica blue clear ribbed handle, antique crystal glass pitcher wheel cut starburst apllied handle christmas, vintage pyrex casserole baking dish round glass lid 684c tab handles, vintage hand blown tiger orange clear glass handle crackle glass creamer vase, vintage hexagonal candy dish pressed glass handles nut bowl 7 12 estate item, vintage pyrex loaf pan 214 clear glass tab handles bakeware bread meat loaf usa, pyrex coffee pot 6 cup flameware glass 7826b percolator rare bakelite handle, clear glass juicer reamer with handle and spout heavy glass , vintage ruby red hand blown applied clear handle candy nut bowl dish, crystal etched scalloped edges glass boquet flower basket holder with handle, pyrex fluted edge 229 clear glass 95 deep dish pie plate handles 24cm, minty heisey signed 150 banded flute ring handled candle holder 19071937, vintage retro orange glassware tall pitcher with clear glass handle, vintage anchor hocking clear glass bowl w handles scalloped design crystal wave, clear glass reamer or juicer with handle vintage ribbed, antique vintage relish ladies dresser tray fancy handled oval clear glass 8, beautiful cranberry art glass pitcher wapplied clear glass ribbed handle, vintage glass juicer reamer lemon orange grapefruit spouthandle easleys pat, antique abp american brilliant period cut glass floral handled ice bucket, clear two handle press glass nut relish mint candy dish, vintage indiana glass clear pretzel single handle cheese 7 38 plate saucer, 285 8 14 inch clear glass pyrex cake dish pans with tab handles, vintage fostoria american 12 curledrolled edge handled tidbit tray, vintage fenton styled cranberry glass basket with clear handle 11 tall, lovely vintage ruby red depression glass candy nut dish with handle stem, vintage clear glass serving platter w center handle 11 apps pastry cheese, orange hand blown crackle glass creamer clear applied handle, ruby red hand blown crackle glass creamer clear applied handle, vintage imperial glass candlewick clear pastry platter with heart handle 11 34, elegant heisey orchid etched glass two handled 675 footed fan vase crimped rim, vintage clear glass 2 handled toothpick holder daisy amp; button pattern le smith, vintage pyrex glass measuring cup 8 ounce one cup closed handle red letter 508, vintage moonstone opalescent hobnail glass candy dish bowl single handle heart, pyrex measuring bowl w handle amp; spout clear w red markings 2 liter gh, pyrex flameware metal amp; glass handle removable holder clamp, cranberry pitcher inverted thumb print square top clear applied handle hobbs, vitg imperial eapg crystal glass nucut 212 candy nappy nut dish 2 handle 1913, antique three corner nappy dish candy handled sawtooth star thumb design rare, pyrex p14c clear glass lid replacement for 2handled corning ware grabit bowl, anchor hocking fire king 496 1cup measuring cup with d handle, anchor hocking line 17 wavy crystal vintage glass 7 12 clear tab handled bowl, vtg clear glass dome replacement lid 497 tab handles f75 diameter casserole, heavy handcrafted handblown double handled glass bucket or vase not signed, handblown glass basket art vintage handle candy dish bowl yellow clear blue nut, large hand blown glass pitcher blue swirl applied handle pontil lots of bubbles, vintage fenton cranberry coin pattern clear applied handle pitcher, vintageretro ruby red glass mug with clear glass celery handle whitefriars , fenton cranberry drapery art glass 7 clear handled basket, vintage pyrex 2 qt open handle pitcher clear glass 85 , vintage 1960s federal glass clear petal point two tier serving tray w handle, mint waterford crystal gold faced desk clock free shipping amp; handling, princess house crystal heritage handled pedestal coffee mugs set of 4, vintage handblown ruby red crackle glass pitcher applied clear handle excellent, fostoria glass co american 4 square dish with handle, cut glass one handled cup flower heavy 3 tall 35 across top vintage



Comments are closed.