Reputation: 4136
What is the right setup to do this?
Currently when I enter mex -setup
, the compiler list is empty.
I installed Visual C++ Express 2008 and Windows SDK, but the supported compilers list is still empty.
Upvotes: 0
Views: 2366
Reputation: 9655
You need to manually configure the mexopts.bat
file, so that your compiler is identified by the mex
command. Here there is an example mexopts.bat
file: http://www.playrec.co.uk/download/mexopts.bat - be sure to edit it to fit your system settings (path etc.). Also, you should put this file in the current folder when you compile the code, otherwise Matlab will use its default file.
Upvotes: 1