{"id":1913,"date":"2006-11-13T08:55:36","date_gmt":"2006-11-13T13:55:36","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=1913"},"modified":"2016-05-18T16:52:29","modified_gmt":"2016-05-18T20:52:29","slug":"from-the-inbox-how-to-change-properties-in-guide-from-a-button-press","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2006\/11\/13\/from-the-inbox-how-to-change-properties-in-guide-from-a-button-press\/","title":{"rendered":"From the inbox: how to change properties in GUIDE from a button press"},"content":{"rendered":"<p>These GUIDE tutorials (<a title=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/loadFile.do?objectId=7598 (link no longer works)\">Intro<\/a>, <a title=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/loadFile.do?objectId=8616 (link no longer works)\">Advanced<\/a>) have been very popular since I posted them. Recently, someone asked me a question that I did not answer in the videos. They wanted to know how to change properties of widgets in GUIDE when a user presses a button.<\/p>\n<p>Here is my answer:<\/p>\n<p><embed src=\"https:\/\/blogs.mathworks.com\/images\/pick\/\/FlashVideos\/FlowPlayer.swf?config=%7Bembedded%3Atrue%2CbaseURL%3A%27http%3A%2F%2Fblogs%2Emathworks%2Ecom%2Fimages%2Fpick%2F%2FFlashVideos%27%2CsplashImageFile%3A%2704%20GUIDE%20Changing%20object%20properties%20with%20callbacks%2Ejpg%27%2CvideoFile%3A%2704%20GUIDE%20Changing%20object%20properties%20with%20callbacks%2Eflv%27%2Cloop%3Afalse%2CinitialScale%3A%27fit%27%2CshowFullScreenButton%3Afalse%2CautoBuffering%3Afalse%2CmenuItems%3A%5Bfalse%2Cfalse%2Cfalse%2Cfalse%2Cfalse%2Ctrue%5D%2CautoPlay%3Afalse%7D\" type=\"application\/x-shockwave-flash\" width=\"500\" height=\"400\"><\/embed><\/p>\n","protected":false},"excerpt":{"rendered":"<p>These GUIDE tutorials (Intro, Advanced) have been very popular since I posted them. Recently, someone asked me a question that I did not answer in the videos. They wanted to know how to change&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2006\/11\/13\/from-the-inbox-how-to-change-properties-in-guide-from-a-button-press\/\">read more >><\/a><\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/1913"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=1913"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/1913\/revisions"}],"predecessor-version":[{"id":7380,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/1913\/revisions\/7380"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=1913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=1913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=1913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}