{"id":713,"date":"2012-03-19T02:00:48","date_gmt":"2012-03-19T07:00:48","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/?p=713"},"modified":"2012-02-23T09:35:23","modified_gmt":"2012-02-23T14:35:23","slug":"a-plug-with-publish","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2012\/03\/19\/a-plug-with-publish\/","title":{"rendered":"A Plug With Publish"},"content":{"rendered":"<p>I have been lax in giving shout-outs to our other blogs. This week I want to highlight a recent &#8220;<a href=\"https:\/\/blogs.mathworks.com\/pick\" target=\"_blank\">File Exchange Pick of the Week<\/a>&#8221; post. File Exchange Pick of the Week (or, POTW) is a weekly sister blog where Brett, Jiro, or their guests highlight something cool and interesting from the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\" target=\"_blank\">MATLAB File Exchange<\/a>. It&#8217;s a great way to find something new to do with MATLAB in a few minutes each week. <\/p>\n<p>One particular <a href=\"https:\/\/blogs.mathworks.com\/pick\/2012\/01\/20\/publishing-called-functions\/\" target=\"_blank\">pick <\/a> I want to call out is: <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/33476-publish-dependent-and-called-functions\" target=\"_blank\">&#8220;Publish dependent and called functions&#8221;<\/a>, a submission that publishes a MATLAB script\/function along with its called functions. You just need to provide the top level file to <tt>publishdepfun<\/tt>, and it will publish that file along with any user-defined functions used from that file. The called functions&#8217; <tt>publish<\/tt> outputs are appended to bottom of the main output file, so you have them all in one handy document.<\/p>\n<p>Try it out, and subscribe to the Pick of the Week <a href=\"https:\/\/blogs.mathworks.com\/pick\/feed\/\" target=\"_blank\">RSS feed<\/a> to stay in tune with what&#8217;s going on there. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been lax in giving shout-outs to our other blogs. This week I want to highlight a recent &#8220;File Exchange Pick of the Week&#8221; post. File Exchange Pick of the Week (or, POTW) is a&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2012\/03\/19\/a-plug-with-publish\/\">read more >><\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[36,18],"tags":[210,211,243,209],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/713"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=713"}],"version-history":[{"count":19,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/713\/revisions"}],"predecessor-version":[{"id":747,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/713\/revisions\/747"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}