Problem in "mbuild -setup" and configuration

Hi, I'm master in VB.Net programming and now, I want to integrate MATLAB in VB.Net by use of my dll files converted from my m-files.
I use MATLAB 2014a x86(32 bit) in my PC and MATLAB 2014 x64(64 bit) in my laptop and visual studio 2010 ultimate x86 on both systems.
When I run command "mbuild -setup" to configure my PC I receive an error message as:
Error using mbuild (line 164)
Unable to complete successfully.
No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2014a/win32.
I use this command to check my license:
>> computer
ans =
PCWIN
>> license('checkout','Compiler')
ans =
1
I'm sure I have installed Visual Studio on my PC and I don't understand the reason of this error message.
I have the same problem on my laptop, too.
Would you please guide me to solve the issue?
Thanks a lot
Mani

3 件のコメント

Geoff Hayes
Geoff Hayes 2014 年 10 月 26 日
Mani - did you visit the link http://www.mathworks.com/support/compilers/R2014a/win32 and check to see which compilers the MATLAB Compiler supports for your version of MATLAB (R2014a) and 32-bit Windows?
Mani Ahmadian
Mani Ahmadian 2014 年 10 月 27 日
編集済み: Mani Ahmadian 2014 年 10 月 27 日
Hi, | Installed Microsoft Visual C++ 2010 Professional and configured it by use of "mbuild -setup" command as bellow:
>> mbuild -setup
MBUILD configured to use 'Microsoft Visual C++ 2010 Professional (C)' for C language compilation.
To choose a different language, select one from the following:
mex -setup C++ -client MBUILD
mex -setup FORTRAN -client MBUILD
Now I'm trying to create dll files by use of APPS > Library Compiler. After complete all fields, and click package button, I receive error message as bellow, too:
ant:
<ant>
<mkdir dir="C:\Documents and Settings\My Documents\MATLAB\test3\for_redistribution" />
<mkdir dir="C:\Documents and Settings\My Documents\MATLAB\test3\for_testing" />
</ant>
mcc -W 'dotnet:test3,Class1,0.0,private' -T link:lib -d 'C:\Documents and Settings\My Documents\MATLAB\test3\for_testing' -v 'C:\Documents and Settings\My Documents\MATLAB\test3.m' 'class{Class1:C:\Documents and Settings\My Documents\MATLAB\test3.m}'
Test checkout of feature 'Compiler' failed.
mcc failed.
What's wrong about my process? Would you please help me?
Thanks, Mani
Geoff Hayes
Geoff Hayes 2014 年 10 月 27 日
Mani - you may want to look at the answer at http://www.mathworks.com/matlabcentral/answers/132882-problem-while-creating-exe-file which may give you an idea on how to proceed.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB Compiler SDK についてさらに検索

質問済み:

2014 年 10 月 26 日

コメント済み:

2014 年 10 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by