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

    %% Create New TIFF File Using Tiff object  
% Create a new file called |myfile.tif|. To run this example, your directory
% must be writable.   

%%  
t = Tiff('myfile.tif', 'w');  

%% 
% Close the Tiff object. 
t.close();