S = structArray2arrayStruct(s, [depth])
Converts a scalar structure with array fields to an array of structures. This is used by loadH5 to decompress Atm and Geom structures saved to h5 files.
Parameters |
Description |
s [struct] |
Scalar structure with array fields |
depth [scalar] |
(Optional) Depth to decompress. If depth=1, assumes s contains array fields to decompress. if depth=2, assumes s contains structure fields that are to be decompressed. |
Return Values |
Description |
S [struct] |
Array of structures |
Copyright (c) 2009. All rights reserved.
|
What do you think about this topic? Send feedback!
|