cannot launch a GUI which works previously

I am using Matlab 2019a. I have been using a 3rd party GUI script: uipickfiles.m to aid my dir selection.
The script stop functioning properly suddenly after months of using it. i did not do any upgrading of Matlab.
Issue:
  • the GUI did not manage to popout. I did see an invisible window after i hover over my matlab icon at the taskbar but it cannot reveal itself after i click on it.
  • When i try to terminate the script. the error is such:
>> uipickfiles
Operation terminated by user during uiwait (line 81)
In uipickfiles (line 644)
uiwait(fig)
I tried running some old executable files that includes this script, they are working fine.
However, if i compile a new executable file now with this issue, i faced the same problem when i run that exe.
I am not sure what is going on.

4 Comments

Did you ever get an answer to this? I'm having the same issue.
@Hannah Actor-Engel: Does you problem concern "uipickfiles" also? And is this function the function from the file exchange: https://www.mathworks.com/matlabcentral/fileexchange/10867-uipickfiles-uigetfile-on-steroids ?
If so, what is the preference for the figure position?
getpref('uipickfiles','figure_position')
Is it off screen?
You can also usually right-click that popout window and click the maximize button.
The maximum button works! And this is what I get: >> getpref('uipickfiles','figure_position')
ans =
2338 419 1277 494

Sign in to comment.

 Accepted Answer

How large is your screen? Reset the position property:
rmpref('uipickfiles', 'figure_position')

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products

Release

R2019a

Community Treasure Hunt

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

Start Hunting!