{"id":2061,"date":"2007-12-26T10:45:43","date_gmt":"2007-12-26T15:45:43","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2007\/12\/26\/advanced-matlab-buttondownfcn\/"},"modified":"2017-07-13T20:50:40","modified_gmt":"2017-07-14T00:50:40","slug":"advanced-matlab-buttondownfcn","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2007\/12\/26\/advanced-matlab-buttondownfcn\/","title":{"rendered":"Advanced MATLAB: ButtonDownFcn"},"content":{"rendered":"<p>This is the next in a series of advanced topics in MATLAB.  My definition of &#8220;Advanced&#8221; is somewhat nebulous and arbitrary, so even newer users can give this a watch.<\/p>\n<p>Two and a half minute video shows how to use buttondownfcn to get the current point.  This can be a fundamental skill that underlies many advanced GUIs.<\/p>\n<div><div class=\"row\"><div class=\"col-xs-12 containing-block\"><div class=\"bc-outer-container add_margin_20\"><videoplayer><div class=\"video-js-container\"><video data-video-id=\"3877438058001\" data-video-category=\"blog\" data-autostart=\"false\" data-account=\"62009828001\" data-omniture-account=\"mathwgbl\" data-player=\"rJ9XCz2Sx\" data-embed=\"default\" id=\"mathworks-brightcove-player\" class=\"video-js\" controls><\/video><script src=\"\/\/players.brightcove.net\/62009828001\/rJ9XCz2Sx_default\/index.min.js\"><\/script><script>if (typeof(playerLoaded) === 'undefined') {var playerLoaded = false;}(function isVideojsDefined() {if (typeof(videojs) !== 'undefined') {videojs(\"mathworks-brightcove-player\").on('loadedmetadata', function() {playerLoaded = true;});} else {setTimeout(isVideojsDefined, 10);}})();<\/script><\/div><\/videoplayer><\/div><\/div><\/div><\/div>\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 Advanced MATLAB posts have been gathered here:<br \/>\n<a href=\"https:\/\/blogs.mathworks.com\/pick\/category\/advanced-matlab\/\">https:\/\/blogs.mathworks.com\/pick\/category\/advanced-matlab\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the next in a series of advanced topics in MATLAB.  My definition of &#8220;Advanced&#8221; is somewhat nebulous and arbitrary, so even newer users can give this a watch.<br \/>\nTwo and a half&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2007\/12\/26\/advanced-matlab-buttondownfcn\/\">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":[7,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2061"}],"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=2061"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2061\/revisions"}],"predecessor-version":[{"id":8727,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2061\/revisions\/8727"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}