How to add a third-party compiler to MATLAB?

6 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Kaustubha Govind
Kaustubha Govind il 16 Ott 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 Commenti
Bala
Bala il 16 Ott 2012
Modificato: Stefanie Schwarz il 17 Apr 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 il 17 Ott 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by