As the title states, I need to get a handle for my Matlab application. My class is derived from matlab.apps.AppBase
and is app.UIFigure
(if that matter, I'm still learning Matlab). My main goal is to change the mouse cursor to watch
after a button is clicked and data is processed in the background.
I have tried:
set(gcf,'Pointer','watch')
But gcf is just empty, so it creates a new figure. I have also gotten all of the figures, using:
figs = findall(groot,'Type','Figure')
Which finds all of the figures I am using. I believe that I need to get the overall application figure and find the handle, but I am unsure how to do that.