Modal to upload file

1 Ansicht (letzte 30 Tage)
Paulo
Paulo am 22 Mai 2024
Beantwortet: Rohit Kulkarni am 23 Mai 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');

Antworten (1)

Rohit Kulkarni
Rohit Kulkarni am 23 Mai 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

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by