Borrar filtros
Borrar filtros

from IDL to Matlab

2 visualizaciones (últimos 30 días)
hasan alhussaini
hasan alhussaini el 28 de Jul. de 2017
Comentada: Walter Roberson el 28 de Jul. de 2017
Hi I'm trying to translate an IDL script, i came accross the following code
workdir = dialog_pickfile(/select your working directory)
filelist = file_search(workdir,'image*')
i'm trying to find the matlab equivalent of those two lines
also workdir is where i've stored all my images

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 28 de Jul. de 2017
uigetdir, uigetfile, uiputfile
Some combination of those.
  1 comentario
Walter Roberson
Walter Roberson el 28 de Jul. de 2017
dinfo = dir( fullfile(workdir, 'image*') );
filelist = fullfile(workdir, {dinfo.name});

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by