Вы не можете сделать это за один выстрел. Но это легко сделать систематически, используя команды zip
и unzip
:
%% Unzip files into "tempdir" directory (will create the directory if needed)
unzip('MyFruits.zip', 'tempdir')
unzip('MyColors.zip', 'tempdir')
%% Zip all files in "tempdir" directory into Joined.zip
zip('Joined.zip', '*.*', 'tempdir')
%% Delete the "tempdir" directory and all of its subdirectories
rmdir('tempdir', 's')