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.
    6 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    mahesh chindarkar
 am 23 Jun. 2015
  
    
    
    
    
    Kommentiert: mahesh chindarkar
 am 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 Kommentare
Akzeptierte Antwort
  Anthony Poulin
      
 am 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?
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!