How to make .exe application?

1 次查看(过去 30 天)
Kelvin Viroja
Kelvin Viroja 2016-8-20
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...

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Application Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by