How to add a third-party compiler to MATLAB?

6 visualizaciones (últimos 30 días)
Bala
Bala el 15 de Oct. de 2012
Editada: Stefanie Schwarz el 17 de Abr. de 2024
Hi, When i tried to import a c-code using LCT(legacy code tool),i am not able to generate the mex file . Since i use lot of machine specific symbols which is not supported by lcc compiler installed inj matlab, Is there any provision for me change the lcc compiler using mex-setup to my own compiler, so that i can change the compiler before i use LCT/ s-function builder.
Regards, Bala

Respuesta aceptada

Kaustubha Govind
Kaustubha Govind el 16 de Oct. de 2012
Yes, you can use "mex -setup" to change the MEX compiler, but you can only use one of the Supported Compilers (please navigate to your version/platform).
  2 comentarios
Bala
Bala el 16 de Oct. de 2012
Editada: Stefanie Schwarz el 17 de Abr. de 2024
Thanks a lot for the reply :)
Using lccopts.bat file posiible to change the path of the installed compiler to an different one?
Kaustubha Govind
Kaustubha Govind el 17 de Oct. de 2012
You could technically do that, but it's not supported by MathWorks. It's probably worth a shot in your case if you are able to invest time in configuring the options file correctly.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by