How to programm a app which selects files from a file folder
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
I'm new using the GUIDE, and I'm building a programm I want to read files from a file folder. To the app read those files, I want to put the file folder adress. Could you help me?
Respuestas (1)
Fangjun Jiang
el 14 de Ag. de 2018
0 votos
uigetfile()
4 comentarios
Sean de Wolski
el 14 de Ag. de 2018
And
uigetdir
Also consider using appdesigner instead of GUIDE.
Daniel Fonsêca
el 16 de Ag. de 2018
Daniel Fonsêca
el 16 de Ag. de 2018
@Daniel Fonsêca: don't use cd: it slows down your code and makes debugging harder. Just use absolute/relative filenames, which are much more efficient. Just use fullfile like this:
D = 'directory where the files are';
F = fullfile(D,'name of the file.txt')
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!