{"id":4539,"date":"2017-04-25T18:23:29","date_gmt":"2017-04-25T22:23:29","guid":{"rendered":"https:\/\/blogs.mathworks.com\/community\/?p=4539"},"modified":"2017-04-26T15:16:43","modified_gmt":"2017-04-26T19:16:43","slug":"add-ons-and-the-file-exchange","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2017\/04\/25\/add-ons-and-the-file-exchange\/","title":{"rendered":"Add-Ons and the File Exchange"},"content":{"rendered":"<p>Earlier today I was pondering the fact that I needed some new business cards when I had a sudden brain storm. A sort of a meta-recursive brainstorm, really. I could picture the design I wanted. But first I&#8217;d need some help from Steve Hoelzer.<\/p>\n<p>Who&#8217;s <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/profile\/authors\/870024-steve-hoelzer\">Steve Hoelzer<\/a>? Why he&#8217;s the genius behind the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/30925-annoy-a-tron\">MATLAB Annoy-a-tron<\/a>, but what I&#8217;m really interested in is his Droste Effect tool. I could search for it on the <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/24102-droste-effect-tool\">File Exchange<\/a>, but right now I want to take you for a stroll through MATLAB&#8217;s Add-On Explorer. Because amazingly enough, you can find Steve&#8217;s Droste tool from right inside the heart of a living MATLAB. Not only that, you can install it with one click.<\/p>\n<p>So let&#8217;s say you&#8217;re using MATLAB and you get a hankering for some Droste magic.\u00a0On MATLAB&#8217;s Home tab, select &#8220;Get Add-Ons&#8221;.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"479\" height=\"329\" class=\"alignnone size-full wp-image-4542\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/add-ons01-1.png\" alt=\"\" \/><\/p>\n<p>This will open the Add-On Explorer. Incidentally, they&#8217;re called &#8220;Add-Ons&#8221; because you can add things not only from the File Exchange, but also MathWorks products, like toolboxes and blocksets. Right now we&#8217;ll search for the term &#8220;droste&#8221; and see what that turns up.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"600\" height=\"286\" class=\"alignnone size-full wp-image-4544\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/add-ons03.png\" alt=\"\" \/><\/p>\n<p>Bingo! There&#8217;s the file we&#8217;re looking for. Click on it so we can\u00a0learn some more about it. It looks like it&#8217;s worth installing. Notice that under the Add button, I can click once and add it to my MATLAB. The Add-On Explorer is also showing me that I&#8217;ll need the Image Processing Toolbox in order for this tool to work properly. If I don&#8217;t have that toolbox installed, the Add-On Explorer can even guide me through the process of getting a trial.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"600\" height=\"500\" class=\"alignnone size-full wp-image-4546\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/add-ons04.png\" alt=\"\" \/><\/p>\n<p>I add the file to MATLAB, and immediately I&#8217;m able to run the code. So here is the effect I&#8217;m after: the\u00a0Droste effect occurs when an image recursively includes itself. Here is the sample image supplied by Steve.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"392\" height=\"393\" class=\"alignnone size-full wp-image-4547\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/sample.png\" alt=\"\" \/><\/p>\n<p>And now you can see my new business card.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"410\" height=\"403\" class=\"alignnone size-full wp-image-4548\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/bizcard.png\" alt=\"\" \/><\/p>\n<p>If at some point in the future I wanted to remove the Droste Effect tool, I could go up to the Add-On Manager like so.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"450\" height=\"335\" class=\"alignnone size-full wp-image-4550\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/add-ons05.png\" alt=\"\" \/><\/p>\n<p>There I am presented with a list of my current Add-Ons, any one of which I can uninstall.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"600\" height=\"147\" class=\"alignnone size-full wp-image-4556\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/add-ons07.png\" alt=\"\" \/><\/p>\n<p>The Add-On manager opens up a new window on the File Exchange. Discover, add, and manage your files directly from inside MATLAB.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/community\/files\/add-ons01-1.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>Earlier today I was pondering the fact that I needed some new business cards when I had a sudden brain storm. A sort of a meta-recursive brainstorm, really. I could picture the design I wanted. But&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2017\/04\/25\/add-ons-and-the-file-exchange\/\">read more >><\/a><\/p>\n","protected":false},"author":69,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/4539"}],"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\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=4539"}],"version-history":[{"count":6,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/4539\/revisions"}],"predecessor-version":[{"id":4557,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/4539\/revisions\/4557"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=4539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=4539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=4539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}