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

    %% Read Subset of a Data Set
% Read the first 5-by-3 subset of a data set. 
%%

% Copyright 2015 The MathWorks, Inc.

h5disp('example.h5','/g4/world')
%%
data = h5read('example.h5','/g4/world',[1 1],[5 3])