MATLAB: How to freeze a figure

freezegui

Dear all,
I am building a GUI and I would like to make all buttons and stuff inactive during computation. Is there any clever way of doing so? The current solution is to disable and then enable everything single control…
Thank you for your help, Cédric

Best Answer

set(handles.yourobject,'enable','off')