how to use system() to cal external Winzip to matlab?

1 回表示 (過去 30 日間)
sandy
sandy 2013 年 8 月 29 日
i have 250000 zip files.i need to unzip ..in matlab it takes more time to unzip. how to cal external program using system()??

採用された回答

Friedrich
Friedrich 2013 年 8 月 29 日
編集済み: Friedrich 2013 年 8 月 29 日
Hi,
based on some searching the internet you can do something along this:
folder = pwd;
files = dir(fullfile(folder,'*.zip'));
for i=1:numel(files)
system(sprintf('"C:\\Program Files (x86)\\WinZip\\WINZIP32.EXE" -min -e -o "%s"',fullfile(folder,files(i).name)))
end
Maybe you need some other arguments etc. But you can figure that out by searching the web for the arguments winzip supports.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWeb Services についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by