Borrar filtros
Borrar filtros

Browsing multiple files & displaying names in static text box

2 visualizaciones (últimos 30 días)
JB
JB el 11 de Nov. de 2015
Comentada: JB el 11 de Nov. de 2015
Hi, I am browsing multiples files using uiget,but i am getting a numerical value in the static text box rather then getting the file name.
[filename pathname]=uigetfile({'*.txt'},'File Selector');
set(handles.text9, 'String', text)
set(handles.text10, 'String', text)
thanks in advance for the help..

Respuesta aceptada

Image Analyst
Image Analyst el 11 de Nov. de 2015
text() is a built-in function, so of course what won't work. You need to pass in the actual cell array of all the filenames that the user selected. Is that "filename"? Have you looked at what values filenames has?

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by