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.

Answers (1)

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

no sir i dont have, but i am a student and i done my project in matlab with a gui... so now i want to create an exe from it. also our university is not register with matlab.. so any suggestions.
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.

Sign in to comment.

Categories

Asked:

on 12 Jan 2017

Commented:

on 17 Jan 2017

Community Treasure Hunt

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

Start Hunting!