How do I change the pointer property in a UI Figure generated in App Designer

2 visualizzazioni (ultimi 30 giorni)
In 2015a I changed the pointer property to 'watch' to indicate the program was away doing something and not frozen. For example: When reading a large binary file I set the pointer property first to 'watch', then read the file in, then changed the pointer back to 'arrow'.
if true
set(handles.figure1, 'pointer', 'watch')
fid= fopen(handles.fileName,'r','ieee-be');
handles.Data = fread(fid,'uint8');
set(handles.figure1, 'pointer', 'arrow')
end
If I tried a similar thing in App Designer (2016a) and tried to change the pointer property of the UI Figure
if true
changePointer = set(app.UIFigure,'Pointer','watch');
end
I got the following error: "Error using matlab.ui.Figure/set Functionality not supported with figures created with the uifigure function."

Risposta accettata

Walter Roberson
Walter Roberson il 26 Set 2016
That facility does not appear to be available yet for uifigures .
  3 Commenti
Scorp
Scorp il 26 Set 2016
Thank you for your reply, at least I am not chasing something that isn't there!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by