How can I use uigetfile to get the file path?
89 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, I was wondering if I could use the function uigetfile to get the complete file path string.
0 commentaires
Réponse acceptée
Image Analyst
le 12 Avr 2013
The documentation for uigetfile() is remiss in not showing any examples that use fullfile() to construct the full file name of the chosen file. Here is how you do it:
[baseName, folder] = uigetfile();
fullFileName = fullfile(folder, baseName)
Voir également
Catégories
En savoir plus sur Adding custom doc dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!