i have a problem in converting my GUI based matlab code into exe file using deploytool ... below is error which gives during compiling. thanks in advance
显示 更早的评论
ant:
<ant>
<mkdir dir="E:\project_code\my_algo in rgb\demo\for_redistribution" />
<mkdir dir="E:\project_code\my_algo in rgb\demo\for_testing" />
</ant>
mcc -C -o demo -W WinMain:demo -T link:exe -d 'E:\project_code\my_algo in rgb\demo\for_testing' -v 'E:\project_code\my_algo in rgb\demo.m'
Test checkout of feature 'Compiler' failed.
mcc failed.
回答(1 个)
Adam
2017-1-12
0 个投票
Do you have a license for the compiler? That error is from the licensing, telling you it cannot checkout a license for the 'compiler'
2 个评论
ijaz khan
2017-1-17
Adam
2017-1-17
You can't create an exe without the compiler license. I don't think this is available on a Student license anyway (though I may be wrong, I've never used one). If you contact Mathworks themselves they may be able to give you better advice, but I think your only option is to run your code from within Matlab.
类别
在 帮助中心 和 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!