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

    %% Make Next Directory the Current Directory  
% Open a |Tiff| object and change the current IFD to the next IFD in the file.   

%%  
t = Tiff('example.tif','r');
nextDirectory(t);
close(t);