Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Problem with execution of Windows standalone applications

3 vues (au cours des 30 derniers jours)
Dharmendra
Dharmendra le 5 Oct 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have developed a Windows standalone application based on function mentioned below.I have some issues pertaining to execution of .exe file which i am stating below.
clc;
y=input ('Enter the number (Y): ');
if y<=0;
disp('Please Enter number > 0');
else
if y==1;
disp('Please Enter number > 1');
else
x=(0:5:50)';
n=length(x);
Q=zeros(n,1);
for i=1:n;
P=sind(x(i))+cosd(x(i)).*y;
Q(i)=P.*sind(x(i)).*y;
end
table=[x Q]
plot(x,Q);
hold on
end
end
I have observed that after every singe execution, application window is closing immediately after showing result in table and plot. and if i want to execute application .exe file in same previous windows, .exe file has to be double clicked to execute again.
[1] Want to execute windows .exe many times on same windows
[3] Want to export table[x Q] every time from executing .exe into excel sheet
i understand to make all changes, i need to modify my .m file.but i have no idea how?

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by