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

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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

질문:

2013년 8월 29일

Community Treasure Hunt

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

Start Hunting!

Translated by