Using mex does not work but the link it directs me doesn't exist

1 回表示 (過去 30 日間)
Brando Miranda
Brando Miranda 2016 年 5 月 31 日
コメント済み: Brando Miranda 2016 年 6 月 1 日
I was trying to do
mex -setup
but it didn't work and gave me:
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015b/maci64.html.
I tried going to that link but the link just didn't exist. Does anyone have some advice on how to run that command?
(the reason I was running this was because I wanted to use matconvnet http://www.vlfeat.org/matconvnet/quick/ quick start example)

回答 (2 件)

Geoff Hayes
Geoff Hayes 2016 年 5 月 31 日
Brando - the above link brings you to the "System Requirements and Supported Compilers" page. From there you need to select the "Supported Compilers" link, http://www.mathworks.com/support/sysreq/files/SystemRequirements-Release2015b_SupportedCompilers.pdf. Navigate to page seven - do you have Xcode installed? Because you will need it for MEX file compilation.
Once you have installed a compiler, then try the above command again (to set up MEX). You can also try
mex -setup -v
which provides more (verbose) information on the setup.

Walter Roberson
Walter Roberson 2016 年 5 月 31 日
The trick is to not include the final period in the link.
http://www.mathworks.com/support/compilers/R2015b/maci64.html. -- fails because of the trailing period
  1 件のコメント
Brando Miranda
Brando Miranda 2016 年 6 月 1 日
I definitevly tried that I dont understand. Ok whatever, lets see what happens...thanx

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

カテゴリ

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