Info

This question is closed. Reopen it to edit or answer.

How to identify a window created by system command

1 view (last 30 days)
Feng
Feng on 4 Oct 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi, I called an external program by system command in my GUI and a window appears. Is there any way that I can identify this window so I can move it into my GUI window?
Thanks,
Feng

Answers (1)

Matt Fig
Matt Fig on 4 Oct 2012
What do you mean, "move it into my GUI window"? You cannot have a figure be a child of another figure, if that is what you are trying to do.
  5 Comments
Matt Fig
Matt Fig on 4 Oct 2012
You might be able to emulate what you want by using an activex control in the GUI, though I have no real experience with this. On the other hand, a multi-line editbox could serve the purpose of a notepad.
Walter Roberson
Walter Roberson on 4 Oct 2012
You will not be able to move the MS Windows application window to be part of a MATLAB figure. However, you might perhaps be able to read off the contents of the window and display those contents within a MATLAB figure. I have no experience with that myself, but from time to time someone has posted code that seems to work that way.

This question is closed.

Tags

Community Treasure Hunt

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

Start Hunting!