フィルターのクリア

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 Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by