How to terminate UI designed in App Designer?

I'm working on an app using App Designer in R2016b. At some point I would like to ask the user for approval using a button group. If the answer is negative I would like to terminate the application and not continue to he next step. How do I terminate the app? a simple 'return' is not working.

 Risposta accettata

Hi Rachel,
the easiest way to do this is to call
closereq

Categorie

Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by