{"id":2112,"date":"2008-02-12T10:03:32","date_gmt":"2008-02-12T15:03:32","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2008\/02\/12\/timing-code-in-matlab\/"},"modified":"2016-05-10T15:01:27","modified_gmt":"2016-05-10T19:01:27","slug":"timing-code-in-matlab","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2008\/02\/12\/timing-code-in-matlab\/","title":{"rendered":"Timing code in MATLAB"},"content":{"rendered":"<p>It was about a year and a half ago when I posted about using the profiler to find bottlenecks in your MATLAB code <a href=\"https:\/\/blogs.mathworks.com\/pick\/2006\/10\/19\/profiler-to-find-code-bottlenecks\/\">[click here]<\/a>. This week&#8217;s video covers two quick and easy ways of timing your code in MATLAB. This is how people would profile their code before the profiler, but it is still a useful set of tools to have.<\/p>\n<p>In response to the survey, I have obtained new audio recording equipment. Let&#8217;s hope you like the results.<\/p>\n<p><embed src=\"https:\/\/blogs.mathworks.com\/images\/pick\/\/FlashVideos\/FlowPlayer.swf?config=%7Bembedded%3Atrue%2CplayList%3A%5B%7BsuggestedClipsInfoUrl%3A%2774%20see%20also%2Etxt%27%2Curl%3A%2774%20Basics%20tic%20toc%2Eflv%27%7D%5D%2CbaseURL%3A%27http%3A%2F%2Fblogs%2Emathworks%2Ecom%2Fimages%2Fpick%2FFlashVideos%2F%27%2CsplashImageFile%3A%2774%20Basics%20tic%20toc%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> Video Content<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/pick\/lazyweb-open-challenges\/\"><img decoding=\"async\" src=\"https:\/\/blogs.mathworks.com\/pick\/..\/images\/pick\/Lazy.jpg\" alt=\"lazy.jpg\" \/><br \/>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It was about a year and a half ago when I posted about using the profiler to find bottlenecks in your MATLAB code [click here]. This week&#8217;s video covers two quick and easy ways of timing your&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2008\/02\/12\/timing-code-in-matlab\/\">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":[3,8,2],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2112"}],"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=2112"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2112\/revisions"}],"predecessor-version":[{"id":7084,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2112\/revisions\/7084"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}