Compiler error
Mostrar comentarios más antiguos
Hey,
I have this error on my pc when I try to work with a "Embedded Matlab function block"
"Unable to locate 'mexopts.bat', and therefore cannot determine which compiler to use for simulation builds. Use 'mex -setup' to select a supported compiler."
I am using Matlab verR2010a win 64 bit.Do let me know if additional information is required.
Kamran Qureshi
Respuestas (4)
Walter Roberson
el 9 de Abr. de 2011
At the command line, have you typed
mex -setup
??
Which compiler do you have installed? There are only a few supported compilers for that version.
1 comentario
Kamran
el 18 de Abr. de 2011
Chirag Gupta
el 18 de Abr. de 2011
0 votos
Hi Kamran,
You should try this solution: http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/?solution=1-6IJJ3L
On 64 bit systems, you need a 64 bit compiler. By default, MSVC does not install the 64 bit Compiler tools as indicated by the error message.
7 comentarios
Kamran
el 18 de Abr. de 2011
Walter Roberson
el 18 de Abr. de 2011
Please post more information about the make error.
Kamran
el 20 de Abr. de 2011
Arnaud Miege
el 20 de Abr. de 2011
What code are you using in your Embedded MATLAB Function block?
Kaustubha Govind
el 20 de Abr. de 2011
Do you see limits.h present in C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\? If not, your MSVC installation might be corrupt.
Kamran
el 21 de Abr. de 2011
Kamran
el 21 de Abr. de 2011
Kamran
el 20 de Abr. de 2011
0 votos
Kamran
el 21 de Abr. de 2011
1 comentario
Kaustubha Govind
el 22 de Abr. de 2011
Do you mean the issue is resolved with the Embedded MATLAB Function as well?
Categorías
Más información sobre Troubleshooting in 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!