Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Problem with execution of Windows standalone applications

3 visualizaciones (últimos 30 días)
Dharmendra
Dharmendra el 5 de Oct. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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?

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by