How to make .exe application?

3 views (last 30 days)
Kelvin Viroja
Kelvin Viroja on 20 Aug 2016
I just write 1000 line input - display code in maylab script... I haven't and GUI I just converted that .m to .exe using MATLAB Compiler... But .exe file doesn't giving any responses after double click... Please help...
Here is the very samll and demo part of my code....
clc; clear all;
XXXXX=today;
YYYYY=datenum('10-11-2020','dd-mm-yyyy'); %Expire date
if XXXXX<YYYYY; clearvars; clc; clear all; format short g;
R=input('Name>','s'); n=menu('AGE','18','19','20','20','22','Enter Manually','I Dont Know'); if n==1; a4='18'; else if n==2; a4='19'; else if n==3; a4='20'; else if n==4; a4='20'; else if n==5; a4='22'; else if n==6; a4=input('AGE>','s'); else if n==7; a4='N.A.'; else end end end end end end end
disp('*************** YOUR DATA SHOWN BELOW **************'); fprintf(' My Name is %s\n',R); fprintf(' My Age is %s\n',a4);
else
clearvars;
warndlg('Your Licence is Expired, Please Buy New Licence and Support the Developer...','Licence Warning');
end
How to make its .exe for distribution... Thanks...

Answers (0)

Categories

Find more on Application Deployment 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!