{"id":386,"date":"2010-07-26T15:09:51","date_gmt":"2010-07-26T15:09:51","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2010\/07\/26\/update-from-the-world-of-mex-visual-studio-2010-support\/"},"modified":"2017-05-01T08:08:23","modified_gmt":"2017-05-01T12:08:23","slug":"update-from-the-world-of-mex-visual-studio-2010-support","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2010\/07\/26\/update-from-the-world-of-mex-visual-studio-2010-support\/","title":{"rendered":"Update From the World of MEX: Visual Studio 2010 Support"},"content":{"rendered":"<p><em>This week I&#8217;d like to welcome back guest blogger, Ken Atwell from the MATLAB Product Management team this week to talk about our support of Visual Studio 2010.<\/em><\/p>\n<p>With the recent release of Microsoft Visual Studio 2010, we were almost immediately asked, \u201cdoes it work with MATLAB\u201d?  Since Visual C++ 2010 was released after MATLAB R2010a, it could not be officially supported in the shipping release.  With Visual C++ 2010 now \u201cgold\u201d and validated, we are making available a <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/answers\/93013-how-can-i-use-microsoft-visual-c-2010-to-create-mex-files-with-matlab-7-10-r2010a\">patch to 64-bit and 32-bit MATLAB R2010a<\/a> (naturally, for Windows) that allows you to build MEX files with this new version of Visual C++.  The patch supports both the Professional and Express versions of Visual C++, and will work with both the Professional and Student versions of MATLAB.  This patch works only with R2010a; using the patch with any version of MATLAB other than R2010a is not supported.<\/p>\n<p>And, while we\u2019re talking about compilers for Windows, we often get asked, \u201cWhere can I get a free compiler for Windows (especially 64-bit Windows)?\u201d  Visual C++ Express is free and probably your best option.  If you are using Visual C++ Express with 64-bit MATLAB, you will also need to install a matching version of the Windows SDK (also free) to get the 64-bit compiler you\u2019ll need.  <\/p>\n<p>All of the above is captured in our <a href=\"https:\/\/uk.mathworks.com\/support\/compilers.html\">Supported and Compatible Compilers page<\/a>, which should be everyone\u2019s first-stop shop for information concerning what compilers MATLAB supports.<\/p>\n<p>What compiler do you use with MATLAB, if any? Chime in below!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I&#8217;d like to welcome back guest blogger, Ken Atwell from the MATLAB Product Management team this week to talk about our support of Visual Studio 2010.<br \/>\nWith the recent release of&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2010\/07\/26\/update-from-the-world-of-mex-visual-studio-2010-support\/\">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":[45],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/386"}],"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=386"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/386\/revisions"}],"predecessor-version":[{"id":4564,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/386\/revisions\/4564"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}