Anyway I can code my app designer application to stop running in the background after closing (delete(app)) in compiled environment?

Hi,
My compiled application continues to run in the background after closing. When I open the executable again, it runs another instance of the application and then it runs in the background again after closing (2 instances in the background). I have to go to task manager (ctrl+alt+del) and end the background processes of the application.
Anyway I can code my application in APP designer to stop running in the background after closing?
Thank you so much,
Jack

2 Comments

Hi Danila,
Yes, we figured out that we need this line:
close all force
after the:
delete(app)
line

Sign in to comment.

Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 7 Feb 2022

Edited:

on 31 May 2022

Community Treasure Hunt

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

Start Hunting!