Modal to upload file

조회 수: 2 (최근 30일)
Paulo
Paulo 2024년 5월 22일
답변: Rohit Kulkarni 2024년 5월 23일
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');

답변 (1개)

Rohit Kulkarni
Rohit Kulkarni 2024년 5월 23일
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

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by