필터 지우기
필터 지우기

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 (최근 30일)
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

채택된 답변

Anthony Poulin
Anthony Poulin 2015년 6월 24일
Hello,
Can you put the command "drawnow", just after the function which disabled all controls and tell if it solve your problems?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Frequency-Domain Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by