Question: Getvar() to get a structure from Matlab

In matlab, a function is returned a structure H, say H.a, H.b, ...

In maple, I want to call this matlab function, but what returned to maple is a Record:

 

Hs:= getvar("H");

Hs:= Record(a=..., b=..., ...);

 

So how can I convert this record to a normal maple array? so I can access to each element by Hs[1]. 

 

Thank you

Kyle

Please Wait...