{"id":2060,"date":"2007-10-30T11:28:35","date_gmt":"2007-10-30T16:28:35","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2007\/10\/30\/matlab-basics-gui-input-validation\/"},"modified":"2016-05-11T11:42:05","modified_gmt":"2016-05-11T15:42:05","slug":"matlab-basics-gui-input-validation","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2007\/10\/30\/matlab-basics-gui-input-validation\/","title":{"rendered":"MATLAB Basics: GUI input validation"},"content":{"rendered":"<p>Two minute video shows how to validate GUI input. This makes sure that user input will not break your code. This example makes sure that the edit box value is not greater than twelve. This technique can be used for many different tests.<\/p>\n<p><embed src=\"https:\/\/blogs.mathworks.com\/images\/pick\/\/FlashVideos\/FlowPlayer.swf?config=%7Bembedded%3Atrue%2CplayList%3A%5B%7BsuggestedClipsInfoUrl%3A%2741%20see%20also%2Etxt%27%2Curl%3A%2741%20Basics%20GUI%20input%20validation%2Eflv%27%7D%5D%2CbaseURL%3A%27http%3A%2F%2Fblogs%2Emathworks%2Ecom%2Fimages%2Fpick%2FFlashVideos%2F%27%2CsplashImageFile%3A%2741%20Basics%20GUI%20input%20validation%2Ejpg%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<p>Other videos have been gathered here:<br \/>\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/category\/video\/\">https:\/\/blogs.mathworks.com\/pick\/category\/video\/<\/a><\/p>\n<p>Other MATLAB Basics posts have been gathered here:<br \/>\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/category\/matlab-basics\/\">https:\/\/blogs.mathworks.com\/pick\/category\/matlab-basics\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two minute video shows how to validate GUI input. This makes sure that user input will not break your code. This example makes sure that the edit box value is not greater than twelve. This technique&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2007\/10\/30\/matlab-basics-gui-input-validation\/\">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,3,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2060"}],"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=2060"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2060\/revisions"}],"predecessor-version":[{"id":7180,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2060\/revisions\/7180"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}