フィルターのクリア

Mex -setup does not show gcc 4.7.3 compiler with Matlab 2013b + (ubuntu) Linux 64 bit

3 ビュー (過去 30 日間)
Wouter
Wouter 2013 年 11 月 27 日
コメント済み: Wouter 2013 年 11 月 28 日
When I run 'mex -setup' I get:
>> mex -setup
Options files control which compiler to use, the compiler and link command
options, and the runtime libraries to link against.
Using the 'mexsh -setup' command selects an options file that is
placed in /home/wouter/.matlab/R2013b and used by default for 'mexsh'. An options
file in the current working directory or specified on the command line
overrides the default options file in /home/wouter/.matlab/R2013b.
To override the default options file, use the 'mexsh -f' command
(see 'mexsh -help' for more information).
The options files available for mexsh are:
1: /usr/local/MATLAB/R2013b/bin/mexopts.sh :
Template Options file for building MEX-files
0: Exit with no changes
Enter the number of the compiler (0-1):
Where is my gcc compiler? When I look in /usr/bin/ the binary/executable/link of gcc is clearly there which as far as I read on the web should be located there.

採用された回答

Walter Roberson
Walter Roberson 2013 年 11 月 27 日
Which gcc is it? gcc 4.7.x is what is supported in R2013b
  5 件のコメント
Walter Roberson
Walter Roberson 2013 年 11 月 27 日
I notice that the dialog talks about selecting an options file, rather than about selecting a compiler. It appears that a proper options file has been created and selected, so you should be able to go ahead and mex files.
Wouter
Wouter 2013 年 11 月 28 日
You are totally correct. The problem was within a toolbox that I downloaded. When installing the toolbox it was saying that 'mex -setup' was not configured correctly. Thats why I thought something was a miss.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by