How to upload files(any format) from any folder other than current folder in app designed by matlab app designer
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Vinayak Untwale
el 23 de Abr. de 2021
Comentada: Vinayak Untwale
el 27 de Abr. de 2021
In matlab app, when I upload files using 'uigetfile' it only allows to upload files from current folder i.e. folder where app.mlap file is saved. How can I upload multiple files from other folder too?
1 comentario
Stephen23
el 23 de Abr. de 2021
"How can I upload multiple files from other folder too?"
Use absolute/relative filenames:
You will need to use fullfile:
Respuesta aceptada
Shadaab Siddiqie
el 27 de Abr. de 2021
From my understanding you want to uplode files from other than the current folder. Here is a code which might help you.
[stmfile, stmpath] = uigetfile('*.txt', 'pick text file');
% example : [FileName,PathName] = uigetfile('C:\*.wav','All Wave Files (*.wav)');
A = importdata(fullfile(stmpath, stmfile), '\t', 15);
Más respuestas (0)
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!