comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: help, cannot create hdf-sd string array variable
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: help, cannot create hdf-sd string array variable [message #34325] Thu, 06 March 2003 09:06
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
R.G. Stockwell wrote:
> Hopefully someone can give me a quick pointer.

> ..... snip .......
> headersize = size(header_array)
> sds_header_id=HDF_SD_CREATE(sd_id,'Header',[headersize[1],he adersize[2]],/string)
>


Hi Bob,
good to hear from you!

Anyways, to answer myself, it seems you have to add space for the length of each
string, like we are saving a 3D character array instead of a 2D string Array.
So I am going to define a string length and see what happens when I try to read
it into matlab. (crossing fingers...)

-bob
[Message index]
 
Read Message
Previous Topic: help, cannot create hdf-sd string array variable
Next Topic: Re: Filling voxels with xyz point data

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:20:58 PDT 2025

Total time taken to generate the page: 0.79928 seconds