How to add a third-party compiler to MATLAB?
6 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Kaustubha Govind
on 16 Oct 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 Comments
Kaustubha Govind
on 17 Oct 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.
More Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!