Are Sun Studio 10 and 11 compilers supported for compiling MATLAB MEX-files?

1 view (last 30 days)
I would like to use Sun Studio 10 or 11 to compile MATLAB MEX-files. I would like to know which version of MATLAB supports this setup.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This enhancement has been incorporated in Release 2007b (R2007b). For previous product releases, read below for any possible workarounds:
MathWorks does not support using Sun Studio 10 (cc compiler version 5.7) and Sun Studio 11 (cc compiler version 5.8) to create MEX-files.
To work around this issue, you may be able to modify your mexopts.sh file located in your preferences directory to match the appropriate settings for either of these compilers. You can verify the location of this directory by typing
prefdir
at the MATLAB command prompt.
MathWorks does not support this workaround.

More Answers (0)

Categories

Find more on Startup and Shutdown 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!