from IDL to Matlab
조회 수: 2 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
Sean de Wolski
2017년 7월 28일
uigetdir, uigetfile, uiputfile
Some combination of those.
댓글 수: 1
Walter Roberson
2017년 7월 28일
dinfo = dir( fullfile(workdir, 'image*') );
filelist = fullfile(workdir, {dinfo.name});
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!