Azzera filtri
Azzera filtri

Modal to upload file

1 visualizzazione (ultimi 30 giorni)
Paulo
Paulo il 22 Mag 2024
Risposto: Rohit Kulkarni il 23 Mag 2024
I'm trying to create a modal that will pause my application in order to upload input files.
c=uialert(app.UIFigure,'Please Upload .mat file','Input file','Icon','question','CloseFcn','uiresume(app.UIFigure)');
waitfor(c);
uiopen('*.mat');

Risposte (1)

Rohit Kulkarni
Rohit Kulkarni il 23 Mag 2024
Hi Paulo,
In order to create a file selection dialog box that you can compile, it’s recommended to use uigetfile function.
Please refer to the following documentation link for more information regarding it:
Thanks

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by