{"id":2471,"date":"2009-10-02T13:57:38","date_gmt":"2009-10-02T13:57:38","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/2009\/10\/02\/integrating-the-file-exchange-with-the-matlab-desktop\/"},"modified":"2009-10-02T13:57:38","modified_gmt":"2009-10-02T13:57:38","slug":"integrating-the-file-exchange-with-the-matlab-desktop","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2009\/10\/02\/integrating-the-file-exchange-with-the-matlab-desktop\/","title":{"rendered":"Integrating the File Exchange with the MATLAB Desktop"},"content":{"rendered":"<div xmlns:mwsh=\"https:\/\/www.mathworks.com\/namespace\/mcode\/v1\/syntaxhighlight.dtd\" class=\"content\">\r\n   <introduction>\r\n      <p>This week's Pick of the Week takes a turn \"out of the box\"; rather than select a file, I'd like to highlight new functionality\r\n         in MATLAB that allows one to interface with the MATLAB Central File Exchange directly from one's <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2009b\/techdoc\/matlab_env\/f1-137804.html#f1-131542\">MATLAB Desktop<\/a>.\r\n      <\/p>\r\n   <\/introduction>\r\n   <p>As of the current release of MATLAB (R2009b), the Desktop includes a new tool called, appropriately, the <a href=\"https:\/\/www.mathworks.com\/help\/releases\/R2009b\/techdoc\/rn\/br5ktrh-1.html#br5ten7-1\">File Exchange Desktop Tool<\/a>. To access the tool, simply browse from the MATLAB 'Start' button to 'Desktop Tools,' and then to 'File Exchange':\r\n   <\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/pick\/..\/images\/pick\/menuaccess.png\"> <\/p>\r\n   <p>From there, you'll be presented with a standard MATLAB window that will allow you to find and grab files from the Exchange.<\/p>\r\n   <p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"https:\/\/blogs.mathworks.com\/pick\/..\/images\/pick\/fexdesktoptool.png\"> <\/p>\r\n   <p>Also, be sure to check out this <a href=\"https:\/\/www.mathworks.com\/support\/2009b\/matlab\/7.9\/demos\/new-matlab-file-exchange-access-features-in-r2009b.html\">mini video tutorial<\/a> demonstrating these new capabilities. And be sure to <a href=\"https:\/\/blogs.mathworks.com\/pick\/?p=2471#respond\">tell us what you think!<\/a><\/p><script language=\"JavaScript\">\r\n<!--\r\n\r\n    function grabCode_773bd5e2d79144cdb0b975c7b9ef7178() {\r\n        \/\/ Remember the title so we can use it in the new page\r\n        title = document.title;\r\n\r\n        \/\/ Break up these strings so that their presence\r\n        \/\/ in the Javascript doesn't mess up the search for\r\n        \/\/ the MATLAB code.\r\n        t1='773bd5e2d79144cdb0b975c7b9ef7178 ' + '##### ' + 'SOURCE BEGIN' + ' #####';\r\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 773bd5e2d79144cdb0b975c7b9ef7178';\r\n    \r\n        b=document.getElementsByTagName('body')[0];\r\n        i1=b.innerHTML.indexOf(t1)+t1.length;\r\n        i2=b.innerHTML.indexOf(t2);\r\n \r\n        code_string = b.innerHTML.substring(i1, i2);\r\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\r\n\r\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \r\n        \/\/ in the XML parser.\r\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\r\n        \/\/ doesn't go ahead and substitute the less-than character. \r\n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\r\n\r\n        author = 'Brett Shoelson';\r\n        copyright = 'Copyright 2009 The MathWorks, Inc.';\r\n\r\n        w = window.open();\r\n        d = w.document;\r\n        d.write('<pre>\\n');\r\n        d.write(code_string);\r\n\r\n        \/\/ Add author and copyright lines at the bottom if specified.\r\n        if ((author.length > 0) || (copyright.length > 0)) {\r\n            d.writeln('');\r\n            d.writeln('%%');\r\n            if (author.length > 0) {\r\n                d.writeln('% _' + author + '_');\r\n            }\r\n            if (copyright.length > 0) {\r\n                d.writeln('% _' + copyright + '_');\r\n            }\r\n        }\r\n\r\n        d.write('<\/pre>\\n');\r\n      \r\n      d.title = title + ' (MATLAB code)';\r\n      d.close();\r\n      }   \r\n      \r\n-->\r\n<\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_773bd5e2d79144cdb0b975c7b9ef7178()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \r\n            the MATLAB code \r\n            <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\r\n      Published with MATLAB&reg; 7.9<br><\/p>\r\n<\/div>\r\n<!--\r\n773bd5e2d79144cdb0b975c7b9ef7178 ##### SOURCE BEGIN #####\r\n%% Integrating the File Exchange with the MATLAB Desktop\r\n% This week's Pick of the Week takes a turn \"out of the box\"; rather than\r\n% select a file, I'd like to highlight new functionality in MATLAB that\r\n% allows one to interface with the MATLAB Central File Exchange directly\r\n% from one's <https:\/\/www.mathworks.com\/help\/releases\/R2009b\/techdoc\/matlab_env\/f1-137804.html#f1-131542 MATLAB Desktop>.\r\n\r\n%%\r\n% As of the current release of MATLAB (R2009b), the Desktop includes a new\r\n% tool called, appropriately, the\r\n% <https:\/\/www.mathworks.com\/help\/releases\/R2009b\/techdoc\/rn\/br5ktrh-1.html#br5ten7-1 File Exchange Desktop Tool>. \r\n% To access the tool, simply browse from the MATLAB 'Start' button to\r\n% 'Desktop Tools,' and then to 'File Exchange':\r\n%%\r\n% \r\n% <<menuAccess.png>>\r\n% \r\n%%\r\n% From there, you'll be presented with a standard MATLAB window that will allow you to find and grab files from the Exchange.\r\n%%\r\n% \r\n% <<fexDesktopTool.png>>\r\n% \r\n%%\r\n% Also, be sure to check out this <https:\/\/www.mathworks.com\/support\/2009b\/matlab\/7.9\/demos\/new-matlab-file-exchange-access-features-in-r2009b.html mini video tutorial> \r\n% demonstrating these new capabilities. And be sure to\r\n% <https:\/\/blogs.mathworks.com\/pick\/?p=2471#respond tell us what you think!>\r\n##### SOURCE END ##### 773bd5e2d79144cdb0b975c7b9ef7178\r\n-->","protected":false},"excerpt":{"rendered":"<p>\r\n   \r\n      This week's Pick of the Week takes a turn \"out of the box\"; rather than select a file, I'd like to highlight new functionality\r\n         in MATLAB that allows one to interface with... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2009\/10\/02\/integrating-the-file-exchange-with-the-matlab-desktop\/\">read more >><\/a><\/p>","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2471"}],"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\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=2471"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/2471\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=2471"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=2471"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=2471"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}