Comments on: Update From the World of MEX: Visual Studio 2010 Support https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/?s_tid=feedtopost News from the intersection of MATLAB, Community, and the web. Mon, 01 May 2017 12:08:23 +0000 hourly 1 https://wordpress.org/?v=6.2.2 By: Andreas https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-35012 Thu, 14 Feb 2013 15:47:06 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-35012 Hello

I want to ask if there is a patch for using Matlab R2008a and MVS2010 too. My intend is to compile C-Code with mex from Matlab and to debug the application (sfunction integrated in simulink) by attaching to the matlab process from visual studio.

Thanx in advance
Andreas

]]>
By: Aurélien https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31701 Wed, 30 Jan 2013 11:35:10 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31701 Yes the most important thing is mex-files can only be run under the same Operating System.
Your mex file is platform dependent , a windows mex-file (mexw32/mexw64 extension) will not work under Linux or Mac for example.

]]>
By: Sridutt https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31690 Wed, 30 Jan 2013 09:59:59 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31690 Thanks Aurélien,

I’ve 1 more Question. Are mex executables reusable with other PC’s (Same Matlab version)?

]]>
By: Aurélien https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31678 Wed, 30 Jan 2013 09:21:14 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31678 Hi Sridutt

MSVC++ Express 2010 is not supported in 9b : it is the reason why mex-setup doesn’t display it. See suported compilers for 9b here :
https://www.mathworks.com/support/compilers/R2009b/

However inR2011a it is supported:
https://www.mathworks.com/support/compilers/R2011a/win32.html

Aurélien

]]>
By: Sridutt https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31663 Wed, 30 Jan 2013 08:10:55 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-31663 Hi, I had a PC with R009b & MSVStudio2008. There were no compatibility issues. Now my new PC has R2009b and MSVC++ Express 2010. There are problems getting the same codes work with.
1. The MSVStud doesn’t show upin mex -setup.
2. LCC giving errors saying iostream not found etc.

What is the way to go around with R2009b is fixed?
Also is mex from one machine reusable in other? Like exe’s as I am not finding them to be so.

]]>
By: Aurélien https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-16232 Fri, 07 Dec 2012 08:43:19 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-16232 Try with SDK 6.1 which is supported :
https://www.mathworks.com/support/compilers/R2010b/

You can download:
Microsoft Visual C++ 2008 Express Edition and Windows SDK 6.1 1
Available at no charge

]]>
By: Duc Pham https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-16180 Fri, 07 Dec 2012 03:37:11 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-16180 Hi,
I am using Matlab 2010b. I also installed Microsoft Window SDK7.1. When I use command: mex -setup. Matlab could not find the new compiler. I found only lcc-win32 v2.4.1. Is there a way for Matlab to automatically find the new compiler? If not, what should I do so that Matlab can find the new compiler? Thanks.

]]>
By: Saima https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-8133 Thu, 13 Oct 2011 08:40:36 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-8133 Thanx a lot for the patch and the matlab shortcut path correction ! :)

]]>
By: dominique https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-8132 Wed, 12 Oct 2011 20:29:07 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-8132 I just see something horrible !!!! : this patch does not work with dlls !!!!! only Mex file !

pfffffffffff

]]>
By: dominique https://blogs.mathworks.com/community/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-8130 Wed, 12 Oct 2011 19:12:43 +0000 https://blogs.mathworks.com/desktop/2010/07/26/update-from-the-world-of-mex-visual-studio-2010-support/#comment-8130 Hi, thanks a lot,
This took me a all day looking for !

]]>