Borrar filtros
Borrar filtros

How to open a file browser in a MATLAB script?

33 visualizaciones (últimos 30 días)
Ranjan Sonalkar
Ranjan Sonalkar el 12 de Oct. de 2016
Comentada: Ranjan Sonalkar el 13 de Oct. de 2016
When I run a MATLAB script, I would like to use a function in the script that would open a Browse window to list all files in a specified folder. Then I would like to click on one of the files in the list (or browse to a different folder), similar to how I can do it in Word to open a file to select it, so that I can read its contents in the script.
Is there a way to do that in a MATLAB script?

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 12 de Oct. de 2016
doc uigetfile
doc fullfile

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by