필터 지우기
필터 지우기

Is there any way to prevent a user from interacting with a figure while the rest of the code runs?

조회 수: 3 (최근 30일)
Hello, I have a file that creates a GUI where each subsequent function adds to it until it returns to the original function. I would like to make it so the user can't interact with it until the code returns to the original function. I have tried to turn visible to off, but I am plotting multiple axes on it, so every time I set a new axis, the visibility it turned back on. If I try to turn it off after it's back on, it gives an unprofessional flickering appearance. So I would be grateful if somebody could tell me a property that I can modify or a function I can call that would allow code to run while the figure is inaccessible. Thanks in advance.

채택된 답변

mbonus
mbonus 2016년 9월 1일
After digging through the documentation I found the enable property and it solves the problem.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by