Preview in MATLAB GUI
18 views (last 30 days)
Show older comments
Chloe Soriano
on 19 Aug 2022
Commented: Chloe Soriano
on 22 Feb 2023
Hello, so I am creating a GUI where I want to have a preview of a video, but without it opening up in another window. Is that possible? preview() opens another window, and I tried to experiment with imshow, but I'm not sure on how to really do this. My computer is attached to a camera device and I already have that setup. Thank you!
0 Comments
Accepted Answer
Kevin Holly
on 19 Aug 2022
You can use the command:
preview(vid, hImage);
where hImage is the handle to the image object in which the data is to be displayed.
How are you creating your UI? Are you using App Designer?
More Answers (0)
See Also
Categories
Find more on Image Preview and Device Configuration 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!