필터 지우기
필터 지우기

from IDL to Matlab

조회 수: 2 (최근 30일)
hasan alhussaini
hasan alhussaini 2017년 7월 28일
댓글: Walter Roberson 2017년 7월 28일
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

채택된 답변

Sean de Wolski
Sean de Wolski 2017년 7월 28일
uigetdir, uigetfile, uiputfile
Some combination of those.
  댓글 수: 1
Walter Roberson
Walter Roberson 2017년 7월 28일
dinfo = dir( fullfile(workdir, 'image*') );
filelist = fullfile(workdir, {dinfo.name});

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by