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
Show older comments
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.
Answers (1)
Adam
on 12 Jan 2017
0 votes
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 Comments
ijaz khan
on 17 Jan 2017
Adam
on 17 Jan 2017
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.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!