Mex File problems with 2010a
Mostrar comentarios más antiguos
I have Windows 7, Visual Studio 2010 Express, SDK 7.1, Matlab 2010a and the patch VS2010MEXSupport found in http://www.mathworks.com/support/solutions/en/data/1-D5W493/?solution=1-D5W493 In my work I have matlab 2011a. I have a mex file that works perfectly at work but when I try to run it in the Matlab 2010a I have this error:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(576) : error C2371: 'char16_t' : redefinition; different basic types
c:\program files\matlab\r2010a\extern\include\matrix.h(330) : see declaration of 'char16_t'
Somehow yvals.h does not have
#include <matrix.h>
or somenthing related with that. I try to add the line but the file is protected. I need to work in Matlab 2010a. I really appreciate if somebody helps me. This have been really painful. After downloading all that stuff and Matlab 2010a still does not work :(
Respuesta aceptada
Más respuestas (1)
Chirag Gupta
el 2 de Jul. de 2011
0 votos
Also google, there are solutions to this
Categorías
Más información sobre MATLAB Compiler SDK en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!