{"id":1687,"date":"2015-09-08T19:39:10","date_gmt":"2015-09-09T00:39:10","guid":{"rendered":"https:\/\/blogs.mathworks.com\/videos\/?p=1687"},"modified":"2015-09-08T19:39:10","modified_gmt":"2015-09-09T00:39:10","slug":"displaying-the-progress-of-a-long-running-matlab-script-part-3-function-handle-utility","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/videos\/2015\/09\/08\/displaying-the-progress-of-a-long-running-matlab-script-part-3-function-handle-utility\/","title":{"rendered":"Displaying the Progress of a Long Running MATLAB Script, Part 3: Function Handle Utility"},"content":{"rendered":"<p>Along with the examples in part one and part two of this series, another method I use to display the status of a long running script is a little utility I made that uses a function handle.<\/p>\n<p><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=\"4152059084001\" 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><\/p>\n<p>The version of the utility that I put on the\u00a0<a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/52918-initupdatestatus\">MATLAB Central File Exchange<\/a>\u00a0does\u00a0not require the variable name parameter. It extracts it from\u00a0the MATLAB code.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"thumbnail thumbnail_asset asset_overlay video\"><a href=\"https:\/\/blogs.mathworks.com\/videos\/2015\/09\/08\/displaying-the-progress-of-a-long-running-matlab-script-part-3-function-handle-utility\/?dir=autoplay\"><img decoding=\"async\" src=\"https:\/\/cf-images.us-east-1.prod.boltdns.net\/v1\/static\/62009828001\/de01f10c-0505-421b-b1c9-456547302adc\/6dfa3fba-5a8c-4dbb-8ba2-b8f2c1e3e4f4\/640x360\/match\/image.jpg\" onError=\"this.style.display ='none';\"\/><\/p>\n<div class=\"overlay_container\">\n      <span class=\"icon-video icon_color_null\"><time class=\"video_length\">4:09<\/time><\/span>\n      <\/div>\n<p>      <\/a><\/div>\n<p>Along with the examples in part one and part two of this series, another method I use to display the status of a long running script is a little utility I made that uses a function handle.<br \/>\nif&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/videos\/2015\/09\/08\/displaying-the-progress-of-a-long-running-matlab-script-part-3-function-handle-utility\/\">read more >><\/a><\/p>\n","protected":false},"author":133,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/1687"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/users\/133"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/comments?post=1687"}],"version-history":[{"count":11,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/1687\/revisions"}],"predecessor-version":[{"id":1771,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/posts\/1687\/revisions\/1771"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/media?parent=1687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/categories?post=1687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/videos\/wp-json\/wp\/v2\/tags?post=1687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}