23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7 Working with Scientific Data Formats<br />

Groups: []<br />

Datasets: [1x2 struct]<br />

Datatypes: []<br />

Links: []<br />

Attributes: []<br />

Inthesamplefile,thegroupnamed/g2 contains two data sets. The following<br />

figure illustrates this part of the sample HDF5 file organization.<br />

Organization of the Data Set /g2 in the Sample HDF5 File<br />

To get information about a data set, look at either of the structures returned<br />

in the Datasets field. These structures provide information about the data<br />

set, such as its name, dimensions, and data type.<br />

dataset1 = level2.Datasets(1)<br />

dataset1 =<br />

Filename: 'L:\matlab\toolbox\matlab\demos\example.h5'<br />

Name: '/g2/dset2.1'<br />

Rank: 1<br />

Datatype: [1x1 struct]<br />

Dims: 10<br />

MaxDims: 10<br />

Layout: 'contiguous'<br />

Attributes: []<br />

Links: []<br />

Chunksize: []<br />

Fillvalue: []<br />

7-14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!