[scilab-Users] Export_to_hdf5

Antoine Monmayrant antoine.monmayrant at laas.fr
Tue Apr 3 14:13:44 CEST 2012


On 03/04/2012 11:24, Sylvestre Ledru wrote:
> On 03/04/2012 11:14, Antoine Monmayrant wrote:
>> On 02/04/2012 17:43, Sylvestre Ledru wrote:
>>> On 02/04/2012 17:41, Adrien Vogt-Schilb wrote:
>>>> hi
>>>>
>>>> can anyone give me a link to the doc of
>>>> export_to_hdf5
>>>>
>>>> i am aware it is beta and everything
>>> There is no doc but the behavior is the same as save() expect that 
>>> the name of the variable has to be quoted:
>>>
>>> a=eye <http://help.scilab.org/docs/5.3.3/en_US/eye.html>(2,2);b=ones 
>>> <http://help.scilab.org/docs/5.3.3/en_US/ones.html>(a);
>>> save('val.dat',a,b);
>>> becomes
>>> save('val.dat',"a","b");
>>>
>>> As you said, it is beta and everything ;)
>> Hi Sylvestre,
>>
>> Could you tell us more about hdf5 support in Scilab?
> Sure!
>
>> Any chance to see Scilab able to open h5 files generated by other 
>> programs, like Matlab does?
> Yes, it is on roadmap. It was planned for the 5.4.0 but, 
> unfortunately, we won't be able to make it happen for this release.
> I hope it will be released for the 5.4.1.
> However, we will release the 5.4.0 with HDF5 as the default format for 
> load and save with a fully documented format (but the previous format 
> will still be available in the 5 family).
>
> About matlab, what is your opinion about their API ?
Well, I used it rarely, relying on the "import-wizard-for-dummy".
But I like the "api" that is used in both MEEP and MPB and that rely on 
h5utils: http://ab-initio.mit.edu/wiki/index.php/H5utils
They also provide "h5read.oct" to import their h5 in Octave. It could be 
interesting to use the same kind of syntax for Scilab...
>
>>
>> Cheers,
>>
>> Antoine
>>
>> PS: not that I am particularly competent, but I can give a hand to 
>> implement this functionality!
> I don't think it is a really development. It is more a problem to hide 
> the complexity of HDF5 to users and to present correctly the data 
> using Scilab default datatypes.
>
> Sylvestre
>
>


-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++

  Antoine Monmayrant LAAS - CNRS
  7 avenue du Colonel Roche
  31077 TOULOUSE
  Cedex 4 FRANCE

  Tel:+33 5 61 33 64 59

  email : antoine.monmayrant at laas.fr
  permanent email : antoine.monmayrant at polytechnique.org

+++++++++++++++++++++++++++++++++++++++++++++++++++++++





More information about the users mailing list