How can I achieve an executable with Matlab r2014b for windows?
이전 댓글 표시
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.
답변 (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
Lino Smaldo
2015년 1월 28일
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.
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!