www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ZipaFileExample.m

    %% Zip a File
  
%%
% Create a zip file of the file |membrane.m|.
% Save the zip file |tmwlogo.zip| in the current folder.
zip('tmwlogo','membrane.m');