forked from aldanor/hdf5-rust
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hello,
I've been trying to use hdf5-metno to extract data from a V7.3 .mat file. I successfully extracted data f64 arranged in 2D and 3D matrices/tensors. However, I have an association (X2, MY_STRING) where MY_STRING is a string in MATLAB.
MAIN
|_ X1
|_ X2
|_ MY_STRING
I fail to extract MY_STRING the right way in Rust. I tried the following:
let v0 = file.group("MAIN").unwrap().dataset("X2")?.read::<VarLenAscii>()?;I get the error:
v0.as_ref() = Err(
no conversion paths found,
)Interestingly, the dimension is 2 🤔
v0.ndim() = 2Did I do something wrong?
Metadata
Metadata
Assignees
Labels
No labels