How can I achieve an executable with Matlab r2014b for windows?
1 回表示 (過去 30 日間)
古いコメントを表示
First of all I apologize for my english. I am using Matlab r2014b for windows but I don't be able to achieve a "standalone application" with "application compiler". After a few second I've launched process, it retrieves me a box with "error during packaging". In the log file for executable's creation of script "untitled.m", it is written:
mcc -C -o Untitled -W WinMain:Untitled -T link:exe -d \\psf\Home\Desktop\Untitled\for_testing -v \\psf\Home\Desktop\Untitled.m
Test checkout of feature 'Compiler' failed.
mcc failed.
So, I read many posts for this problem and I've got these results:
mbuild -setup
MBUILD configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.
mex -setup
MEX configured to use 'Microsoft Windows SDK 7.1 (C)' for C language compilation.
license('test','compiler')
ans =
1
ver
MATLAB Version: 8.4.0.150421 (R2014b)
MATLAB License Number: unknown
Operating System: Microsoft Windows 7 Home Basic Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Could be my problem connected with the "unknown license number" that Matlab doesn't recognize?
Pleas help me. Thanks for your answers.
0 件のコメント
回答 (1 件)
Andreas Goser
2015 年 1 月 28 日
編集済み: Andreas Goser
2015 年 1 月 28 日
Resolving this may need multiple steps. Starting with successful installation and licensing. Licensing you already did with
license('test','compiler')
But the "ver" output should definitely return a license number and the list of products installed. Did you cut off the list below "Server VM mixed mode"?
2 件のコメント
Andreas Goser
2015 年 1 月 28 日
That is a bit obscure as the license test is successful. License manager error -96 is well know and described here. Most of the time it needs your IT to resolve it.
参考
カテゴリ
Help Center および File Exchange で Manage Products についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!