Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Problem with execution of Windows standalone applications

3 Ansichten (letzte 30 Tage)
Dharmendra
Dharmendra am 5 Okt. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 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?

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by