Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How to programm a app which selects files from a file folder
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
0 Kommentare
Antworten (1)
Fangjun Jiang
am 14 Aug. 2018
uigetfile()
4 Kommentare
Stephen23
am 16 Aug. 2018
Bearbeitet: Stephen23
am 16 Aug. 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')
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!