how to use system() to cal external Winzip to matlab?
2 次查看(过去 30 天)
显示 更早的评论
i have 250000 zip files.i need to unzip ..in matlab it takes more time to unzip. how to cal external program using system()??
0 个评论
采纳的回答
Friedrich
2013-8-29
编辑:Friedrich
2013-8-29
Hi,
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Web Services 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!