<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153</link>
    <title>MATLAB Central Newsreader - HDF5 Hight Level API</title>
    <description>Feed for thread: HDF5 Hight Level API</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 12 May 2009 12:57:01 -0400</pubDate>
      <title>HDF5 Hight Level API</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153#649190</link>
      <author>meng long</author>
      <description>I want to know when &quot;HDF5 Hight Level API&quot;  is available in Matlab.</description>
    </item>
    <item>
      <pubDate>Wed, 13 May 2009 20:44:38 -0400</pubDate>
      <title>Re: HDF5 Hight Level API</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153#649668</link>
      <author>Ashish Uthama</author>
      <description>On Tue, 12 May 2009 08:57:01 -0400, meng long &amp;lt;menglong6518@yeah.net&amp;gt;  &lt;br&gt;
wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; I want to know when &quot;HDF5 Hight Level API&quot;  is available in Matlab.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Meng,&lt;br&gt;
&lt;br&gt;
Could you tell more?&lt;br&gt;
&lt;br&gt;
I guess I would call HDF5READ and HDF5WRITE high level, not sure what you  &lt;br&gt;
are looking for.</description>
    </item>
    <item>
      <pubDate>Thu, 14 May 2009 09:19:01 -0400</pubDate>
      <title>Re: HDF5 Hight Level API</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153#649763</link>
      <author>meng long</author>
      <description>Dear Sir:&lt;br&gt;
&lt;br&gt;
Thanks for your answer.&lt;br&gt;
&lt;br&gt;
I want to use H5TBmake_table, and so on.&lt;br&gt;
&lt;br&gt;
HDF5 is promoted quiker than HDF5 supported in Matlab.&lt;br&gt;
&lt;br&gt;
I hope that I can use  HDF5_new_features in Matlab by constructing&lt;br&gt;
&lt;br&gt;
some code &quot;@H5TB&quot; similar with &quot;@H5F&quot;.&lt;br&gt;
&lt;br&gt;
meng long&lt;br&gt;
&lt;br&gt;
Look forward.</description>
    </item>
    <item>
      <pubDate>Sat, 20 Jun 2009 16:22:01 -0400</pubDate>
      <title>Re: HDF5 Hight Level API</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153#658995</link>
      <author>meng long</author>
      <description>&quot;Ashish Uthama&quot; &amp;lt;first.last@mathworks.com&amp;gt; wrote in message &amp;lt;op.utvykoyza5ziv5@uthamaa.dhcp.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; On Tue, 12 May 2009 08:57:01 -0400, meng long &amp;lt;menglong6518@yeah.net&amp;gt;  &lt;br&gt;
&amp;gt; wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I want to know when &quot;HDF5 Hight Level API&quot;  is available in Matlab.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Meng,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Could you tell more?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I guess I would call HDF5READ and HDF5WRITE high level, not sure what you  &lt;br&gt;
&amp;gt; are looking for.&lt;br&gt;
&lt;br&gt;
&amp;nbsp;sDset.Location = '/Qut/Day/Sh/Idx';&lt;br&gt;
&amp;nbsp;&amp;nbsp;sDset.Name = '123456';&lt;br&gt;
&amp;nbsp;&amp;nbsp;hdf5write('fTest.H5',sDset,sObj,'writemode','overwrite');&lt;br&gt;
&lt;br&gt;
The 'hdf5write', as above, overwrite 'fTest.H5', not the dataset '123456' as expected.&lt;br&gt;
How to overwrite a dataset?&lt;br&gt;
&lt;br&gt;
I hope that Matlab surports 'HDF5' deeply and quickly, surports 'H5TB' etc., since 'Matlab Hight Level Functions for HDF5' are not enought in Industry-Application, and 'Malab Low Level Functions for HDF5' are too slow to deal with compound type in Industry-Application of a large of tables. </description>
    </item>
    <item>
      <pubDate>Mon, 22 Jun 2009 13:31:27 -0400</pubDate>
      <title>Re: HDF5 Hight Level API</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153#659312</link>
      <author>Ashish Uthama</author>
      <description>On Sat, 20 Jun 2009 12:22:01 -0400, meng long &amp;lt;menglong6518@yeah.net&amp;gt;  &lt;br&gt;
wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; &quot;Ashish Uthama&quot; &amp;lt;first.last@mathworks.com&amp;gt; wrote in message  &lt;br&gt;
&amp;gt; &amp;lt;op.utvykoyza5ziv5@uthamaa.dhcp.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt;&amp;gt; On Tue, 12 May 2009 08:57:01 -0400, meng long &amp;lt;menglong6518@yeah.net&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; wrote:&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; &amp;gt; I want to know when &quot;HDF5 Hight Level API&quot;  is available in Matlab.&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Meng,&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; Could you tell more?&lt;br&gt;
&amp;gt;&amp;gt;&lt;br&gt;
&amp;gt;&amp;gt; I guess I would call HDF5READ and HDF5WRITE high level, not sure what  &lt;br&gt;
&amp;gt;&amp;gt; you&lt;br&gt;
&amp;gt;&amp;gt; are looking for.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;  sDset.Location = '/Qut/Day/Sh/Idx';&lt;br&gt;
&amp;gt;   sDset.Name = '123456';&lt;br&gt;
&amp;gt;   hdf5write('fTest.H5',sDset,sObj,'writemode','overwrite');&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The 'hdf5write', as above, overwrite 'fTest.H5', not the dataset  &lt;br&gt;
&amp;gt; '123456' as expected.&lt;br&gt;
&amp;gt; How to overwrite a dataset?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I hope that Matlab surports 'HDF5' deeply and quickly, surports 'H5TB'  &lt;br&gt;
&amp;gt; etc., since 'Matlab Hight Level Functions for HDF5' are not enought in  &lt;br&gt;
&amp;gt; Industry-Application, and 'Malab Low Level Functions for HDF5' are too  &lt;br&gt;
&amp;gt; slow to deal with compound type in Industry-Application of a large of  &lt;br&gt;
&amp;gt; tables.&lt;br&gt;
&lt;br&gt;
Meng,&lt;br&gt;
&lt;br&gt;
Yes, as the document mentions, 'overwrite' will overwrite the entire  &lt;br&gt;
contents of the file.&lt;br&gt;
&lt;br&gt;
To overwrite a specific dataset, just write to it again:&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset1', uint8(5))&lt;br&gt;
&amp;gt;&amp;gt; hdf5read('myfile.h5','/dataset1')&lt;br&gt;
&lt;br&gt;
ans =&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;5&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset1', uint8(10))&lt;br&gt;
&amp;gt;&amp;gt; hdf5read('myfile.h5','/dataset1')&lt;br&gt;
&lt;br&gt;
ans =&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Could you please elaborate on your use of compound type and tables?&lt;br&gt;
&amp;nbsp;</description>
    </item>
    <item>
      <pubDate>Mon, 22 Jun 2009 18:17:01 -0400</pubDate>
      <title>Re: HDF5 Hight Level API</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153#659457</link>
      <author>meng long</author>
      <description>&quot;meng long&quot; &amp;lt;menglong6518@yeah.net&amp;gt; wrote in message &amp;lt;gubrmt$g57$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; I want to know when &quot;HDF5 Hight Level API&quot;  is available in Matlab.&lt;br&gt;
&lt;br&gt;
Dear Sir:&lt;br&gt;
&lt;br&gt;
Thanks, I am glad to meet you for discussing HDF5 in deep case.&lt;br&gt;
&lt;br&gt;
My table, for example, includes many columns &quot;dOpnP,dClsP,dHgtP,dLowP,dVol,dMny&quot; etc. which is used in financial-time-series application. For this practical application, many&lt;br&gt;
different-type tables are dealt with. &lt;br&gt;
&lt;br&gt;
H5TB as HDF5 hight level API, is somewhat  a good case for my tables, except that I&lt;br&gt;
cannot add attributes to the H5TB tables, inputs as 'Start, NRecords' in HDF5 hight level functions are difficult to used in financial-time-series application.&lt;br&gt;
&lt;br&gt;
I have try to code a 'H5TB'  in matlab completely by using Matlab_Low_Level_Fuctions for HDF5, but 'my successful codes' is so slowly in reading data from the tables. For example, reading some data from 300 tables (100k each table) consumes 7-8 seconds, which is 5-6 times than loading 300 mat files storaged same data. The main seconds is consumed in communicating with hdf5lib2, in calling mex functions, etc.. In a word,  The main seconds is consumed in communicating with HDF5.&lt;br&gt;
&lt;br&gt;
As a conclusion, it is not practical to construct a complex table_system by using Matlab_Low_Level_Fuctions for HDF5.&lt;br&gt;
&lt;br&gt;
I have also try to code a complex table_system by using Matlab_Hight_Level_Fuctions for HDF5, but I give up, since hdf5write and hdf5read can be used in a simple application only, and is not flexible to a complex application.&lt;br&gt;
&lt;br&gt;
I have try to code a complex table_system By SQL in matlab. Although, matlab is able to communicate with SQL (i.e, MS SQL)&amp;#12290; However, the communication has a low&lt;br&gt;
effective. I give up the slection. Now, I work up on the mat files. &lt;br&gt;
&lt;br&gt;
I hope that I work up on a Matlab_H5TB having same effective as mat files in recent future.&lt;br&gt;
&lt;br&gt;
your friend&lt;br&gt;
menglong</description>
    </item>
    <item>
      <pubDate>Fri, 09 Oct 2009 09:50:03 -0400</pubDate>
      <title>Re: HDF5 Hight Level API</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/251153#685899</link>
      <author>Vitezslav </author>
      <description>&amp;gt; Meng,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Yes, as the document mentions, 'overwrite' will overwrite the entire  &lt;br&gt;
&amp;gt; contents of the file.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; To overwrite a specific dataset, just write to it again:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset1', uint8(5))&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; hdf5read('myfile.h5','/dataset1')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ans =&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;      5&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset1', uint8(10))&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; hdf5read('myfile.h5','/dataset1')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ans =&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;     10&lt;br&gt;
&lt;br&gt;
hello, &lt;br&gt;
maybe I miss the point, but IMHO the above example &lt;br&gt;
overwrites the entire contents of the file too.&lt;br&gt;
An example with two datasets:&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset1', uint8(5))&lt;br&gt;
&amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset2', uint8(5),'WriteMode', 'append') &lt;br&gt;
&lt;br&gt;
you have NO possibility to change the values of dataset1 without destroying dataset2:&lt;br&gt;
&lt;br&gt;
1. try WriteMode append:&lt;br&gt;
&amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset1', uint8(10),'WriteMode', 'append')&lt;br&gt;
??? Error using ==&amp;gt; hdf5writec&lt;br&gt;
writeH5Dset: Dataset names must be unique when appending data.&lt;br&gt;
&lt;br&gt;
2. without try WriteMode append (default mode  is 'overwrite')  &lt;br&gt;
&amp;gt;&amp;gt; hdf5write('myfile.h5', '/dataset1', uint8(10))&lt;br&gt;
&amp;gt;&amp;gt; hdf5read('myfile.h5','/dataset1')&lt;br&gt;
ans =&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;10&lt;br&gt;
&amp;gt;&amp;gt; hdf5read('myfile.h5','/dataset2')&lt;br&gt;
??? Error using ==&amp;gt; hdf5readc&lt;br&gt;
/dataset2 is not a dataset.&lt;br&gt;
&lt;br&gt;
that means that the entire contents of the file was rewritten,&lt;br&gt;
not only the specific dataset1.&lt;br&gt;
&lt;br&gt;
with best wishes &lt;br&gt;
vita</description>
    </item>
  </channel>
</rss>

