How to add a waitbar into an app created in App designer? Not in a separate figure
I have done a lot of research on this and cannot seem to find a solution that is what I am looking for… maybe because what I am trying to do just isn’t possible in Matlab, but I am sure there is a way.
I have an app that I am designing in App designer that is in the barebones stages right now… I want to implement a wait bar of some sort into the app along with the other components, i.e. not in a separate figure. Alot of what I have found has been using the waitbar function to open another figure with the waitbar, and I currently am using that right now, but want to get the waitbar inside my app.
I may not be able to use the matlab built in waitbar, and have already tried looking through the code but was not able to replicate the creation of it inside the app.
I know there are many options on the file exchange, but again, nothing that seems to be what I am looking for.
Does anyone know of a way, or can guide me in the right direction as to how I can approach this? Just imagine opening app designer, adding in a button or slider or whatever, and then adding in a waitbar to that same figure, that can update by pressing the button for example.
Hopefully someone has come up with a good solution for this by now and can help me out! Open to all suggestions.
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
With AppDesigner you should be using uiprogressdlg() which displays a progress bar on top of your GUI within an external figure.
If you want progress bar functionality embedded within the app, you’ll have to build it yourself. One way to do that is to create a long, rectangular axes that ranges from x=0:1. From within your code, you can set the size of a patch object (patch properties) that continually grows as you update its size and then vanishes after reaching 100%.
Also, learn how to embedd a progress bar within a UI Button!
Here’s a functional demo that creates an embedded progress bar and updates the progress within a loop. It also shows the percent complete.
% Set up the progress bar axis
fh = clf();
ax = axes(fh,'Position',[.1 .4 .8 .05],'box','on','xtick',[],'ytick',[],...
'color',[0.9375 0.9375 0.9375],'xlim',[0,1],'ylim',[0,1]); %gray94
title(ax,'Progress')
% Create empty patch that will be updated
ph = patch(ax,[0 0 0 0],[0 0 1 1],[0.67578 1 0.18359]); %greenyellow% Create the percent-complete text that will be updated
th = text(ax,1,1,'0%','VerticalAlignment','bottom','HorizontalAl
SEE COMPLETE ANSWER CLICK THE LINK