Unable to Programmatically Control GUI Window Closure When Executing "analyzeNe​twork(goog​lenet)"

I am encountering a challenge in programmatically managing the closure of a GUI window during the execution of the "analyzeNetwork(googlenet)" command. Despite my efforts, including attempting to retrieve the window handle, the GUI window persists.
I am seeking advice on how to effectively resolve this issue.

Answers (1)

Hey Yu-Wei Chang!
I get that you're trying to close the GUI window that pops up when you use the "analyzeNetwork(googlenet)" command.
This command launches a separate GUI window that doesn't respond to the usual "close" or "delete" commands in MATLAB.
It seems like the GUI window is managed by a different process or thread, so closing it programmatically within MATLAB isn't straightforward.
In cases like this, you might need to manually interact with the GUI window or explore specific options within the "analyzeNetwork" function or its documentation to control how the GUI window behaves.
Hope that helps!

Categories

Find more on Software Development Tools in Help Center and File Exchange

Products

Release

R2022b

Asked:

on 10 Aug 2023

Answered:

on 23 Aug 2023

Community Treasure Hunt

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

Start Hunting!