Matlab mlapp gui auto minimises once folder selected using uigetdir() command is there any way to resotre main gui once folder selection done.

Matlab mlapp gui auto minimises once folder selected using uigetdir() command is there any way to resotre main gui once folder selection done.

 Risposta accettata

From my understanding, you are looking to restore the main GUI once the folder selection is completed using the 'uigetdir()' command. A similar issue has been addressed in some MATLAB Answers discussions. The following command, placed after the folder selection, seems to restore the GUI:
figure(app.UIFigure);
Read more about the similar issue in the following MATLAB Answer posts:
Hope this helps!

2 Commenti

Hi Jatin
Thanks for sharing the solution link
maybe i would have skipped link becuase of not in "Answer Accepted" category

Accedi per commentare.

Più risposte (1)

This has been fixed in R2025a. Focus now returns to the app that called uigetdir after the dialog is closed. The fix is also available in the R2024a and R2024b beta releases only (not the R2024a and R2024b general releases).

Categorie

Scopri di più su Phased Array System Toolbox in Centro assistenza e File Exchange

Prodotti

Release

R2022b

Tag

Richiesto:

il 11 Set 2024

Risposto:

il 11 Lug 2025

Community Treasure Hunt

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

Start Hunting!

Translated by