Stop opening a figure window while using uiwait to pause a playing video in app designer
6 views (last 30 days)
Show older comments
In my developed GUI, videos corresponding to alphabets are playing. I wanted to pause and resume those videos using push button. So, I used two different push button for pausing and resuming the playing video and used uiwait and uiresume functions, respectively. Now, when I click the push button of pause while playing the video, a blank figure window opens.
Can anyone suggest me a way to stop opening the figure window?
In case you need details, feel free to comment.
2 Comments
Accepted Answer
Voss
on 26 Aug 2023
Use
uiwait(app.UIFigure)
and
uiresume(app.UIFigure)
(or whatever the handle to your app's uifigure is, if you changed it from the default app.UIFigure)
2 Comments
More Answers (0)
See Also
Categories
Find more on Maintain or Transition figure-Based Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!