Problem in "mbuild -setup" and configuration

3 次查看(过去 30 天)
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 个评论
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

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by