How can I select Lcc-win64 as my compiler Matlab 2015b

5 次查看(过去 30 天)
My Matlab 2015b is configured to use 'Microsoft Windows SDK 7.1 (C)' compiler and I'd like to change it to Lcc-win64 that I've just installed on my computer. On previous Matlab 2013a, I was able to select a compiler by typing >>mex -setup in the command prompt. How can I select a different compiler in Matlab 2015b ?
Thank you.

回答(2 个)

Walter Roberson
Walter Roberson 2016-1-29
lcc-win64 is not supported by any version of MATLAB.
By R2015b there are xml files that are used to configure mex. Their location is not documented, but I would suggest looking in
fullfile(matlabroot 'bin', 'w64', 'mexopts')
where the 'w64' I am least sure of (might be 'win64' for example)

Alexandre
Alexandre 2016-2-1
I fixed my problem by installing 2015b 32-bit instead. But when is lcc-win64 going to be supported? According to that page, it's kind of confusing : http://www.mathworks.com/support/compilers/R2015b/index.html?sec=win64
Thanks.
  1 个评论
Walter Roberson
Walter Roberson 2016-2-1
I had not noticed that lcc-win64 was supported for anything, so I do not have any information about that. MinGW is the supported free compiler these days.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by