I am making a GUI. GUI plots the data. While GUI is plotting the data, to avoid any manual intervention I want to lock GUI window till I get the plot. I have disabled all controls in GUI in plot function to lock GUI. But GUI is not locking properly.
1 view (last 30 days)
Show older comments
mahesh chindarkar
on 23 Jun 2015
Commented: mahesh chindarkar
on 25 Jun 2015
As I mentioned in question I want to lock GUI while GUI is plotting the data, but I am not getting locking (disabling all controls in GUI) function properly. At start of plot function I have disabled all controls in GUI and at the ending of plot function I have enabled all disabled controls. I am expecting the flow like - GUI controls get disabled as soon as I pressed PLOT button, then GUI plots the data and then enable the controls again. But this is not happening. The plot function(plot button) disables all GUI controls when plot function is about to end, it is not locking all GUI controls as I pressed PLOT button
0 Comments
Accepted Answer
Anthony Poulin
on 24 Jun 2015
Hello,
Can you put the command "drawnow", just after the function which disabled all controls and tell if it solve your problems?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!