Info
This question is closed. Reopen it to edit or answer.
Problem with execution of Windows standalone applications
3 views (last 30 days)
Show older comments
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?
0 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!