Embed Video Application Within MATLAB Application

1 view (last 30 days)
Hi, I have a MATLAB app that I would like to take a seperate window and embed it into a portion of the app. Ideally, I want to be able to have the window take up the space of a UIAxes (the window is a 3D environment playing a video). Is there any way to display this window within the application? Alternatively, does MATLAB have a way of resizing windows other than the MATLAB application itself?
The only solutions I've found use imshow() to display screenshots on loop, but this does not work for an actively changing window.

Answers (1)

Benjamin Kraus
Benjamin Kraus on 13 Nov 2020
When you say "a separate window" do you mean:
  • a separate figure window (from MATLAB)
  • another MATLAB window of some sort (not a figure)
  • or a window from a separate application entirely?
If the separate window is a browser window, then you may be able to use the uihtml component to embed the webpage into your app.
If your "separate window" is another MATLAB figure window, then there are a variety of things you may be able to do, such as use copyobj to move the contents of the other figure into your app.
Otherwise, I'm not aware of any options to do what you are trying to do.
  1 Comment
Luke Lawrence
Luke Lawrence on 13 Nov 2020
The window is a different application outside of MATLAB that is not a browser window. Thank you for the help regardless.

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!

Translated by