compiled exe on Windows not closing after the routine supposed to finish

1 view (last 30 days)
Hi there,
I am running compiled exe from my script under Windows 7 enviornment. One problem we encounter is that the command window won't close after the routine finishes. I suspect that it is due to some resource didn't get released, or figures hiding in the background wasn't closed. Is there a way we can add some check on what's not properly released in the compiled executable environment?
  3 Comments
Chuo Liu
Chuo Liu on 19 Apr 2019
When running on the same routine under MATLAB command prompt, it would return without any problem. All of the figures is closed at that point.
Damir Bojadzic
Damir Bojadzic on 8 Dec 2020
I have the same problem on my Windows Server 2016. It used to work perfectly and now it just hangs on the last line. It seems that a thread is still open and refuses to close in the background.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!