Integrating MATLAB R2014a with Visual Studio 2013

2 ビュー (過去 30 日間)
Royi Avital
Royi Avital 2014 年 9 月 22 日
コメント済み: Geoff Hayes 2014 年 9 月 23 日
Hello,
I have Visual Studio 2013 Premium installed. It was installed using its defaults.
I try to integrate it with MATLAB by 'mex -setup' yet MATLAB can't locate it.
Yet still the same result. The System variable is well defined.
Moreover, I tried those manual configurations:
With failure.
What could it be?
  2 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 9 月 22 日
Royi - turn verbosity on for the MEX setup so that you can see what MATLAB is checking for when searching for compilers. In the Command Window type
mex -setup -v
and paste the results here.
Royi Avital
Royi Avital 2014 年 9 月 22 日
Hi Geoff,
Thank You, I will do that.

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

採用された回答

Royi Avital
Royi Avital 2014 年 9 月 22 日
Update:
It seems I managed to have VS 2013 on my list. Yet when I try to use 'loadlibrary' as in the documentation:
Using the code:
addpath(fullfile(matlabroot,'extern','examples','shrlib'))
loadlibrary('shrlibsample')
I get the following error: "The specified key is not present in this container.".
I get this error also when I hit:
mex.getCompilerConfigurations
It seems something is corrupted with my configuration. How can I reset it?
Thanks.
  4 件のコメント
Royi Avital
Royi Avital 2014 年 9 月 23 日
Hi Geoff, I used those for configuration:
Then suddenly I had it on the list when I used mex -setup -v.
But now I left with errors.
As you can see, they change files within MATLAB's folder.
ImageAnalyst, I get the compiler at work. I don't leave in the USA, the support here isn't as good or as fast as in this Forum.
Geoff Hayes
Geoff Hayes 2014 年 9 月 23 日
Royi - I'm not sure what you mean by As you can see, they change files within MATLAB's folder. Do you mean they change when you run the setup?
Following Image Analyst's suggestion to contact support should most likely be the next step for you.

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

その他の回答 (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